From 12be1aa9e0240bc2083cabf00ec89d0e743ca16d Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Thu, 27 Sep 2012 21:00:46 +0000 Subject: drop -Werror from libgfortran builds --- 4.6.0/gentoo/15_all_libgfortran-Werror.patch | 16 ++++++++++++++++ 4.6.0/gentoo/README.history | 3 ++- 2 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 4.6.0/gentoo/15_all_libgfortran-Werror.patch (limited to '4.6.0') diff --git a/4.6.0/gentoo/15_all_libgfortran-Werror.patch b/4.6.0/gentoo/15_all_libgfortran-Werror.patch new file mode 100644 index 0000000..31fca6d --- /dev/null +++ b/4.6.0/gentoo/15_all_libgfortran-Werror.patch @@ -0,0 +1,16 @@ +libgfortran does not respect --disable-werror + +https://bugs.gentoo.org/433435 +http://gcc.gnu.org/PR54724 + +--- a/libgfortran/configure ++++ b/libgfortran/configure +@@ -5551,7 +5551,7 @@ fi + + # Add -Wall -fno-repack-arrays -fno-underscoring if we are using GCC. + if test "x$GCC" = "xyes"; then +- AM_FCFLAGS="-I . -Wall -Werror -fimplicit-none -fno-repack-arrays -fno-underscoring" ++ AM_FCFLAGS="-I . -Wall -fimplicit-none -fno-repack-arrays -fno-underscoring" + ## We like to use C99 routines when available. This makes sure that + ## __STDC_VERSION__ is set such that libc includes make them available. + AM_CFLAGS="-std=gnu99 -Wall -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -Wextra -Wwrite-strings" diff --git a/4.6.0/gentoo/README.history b/4.6.0/gentoo/README.history index 13b1c6c..87914a8 100644 --- a/4.6.0/gentoo/README.history +++ b/4.6.0/gentoo/README.history @@ -1,6 +1,7 @@ -1.3 [pending] +1.3 27 Sep 2011 + 05_all_gcc-4.6.x-siginfo.patch - 08_all_cross-compile.patch + + 15_all_libgfortran-Werror.patch + 16_all_libgo-Werror-pr53679.patch + 27_all_gcj-glibc-2.15-pr50888.patch + 33_all_armhf.patch -- cgit v1.2.3-65-gdbad