diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-09-27 21:00:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-09-27 21:00:46 +0000 |
commit | 12be1aa9e0240bc2083cabf00ec89d0e743ca16d (patch) | |
tree | b9ba318ea2438a0e971a59983a2e5d3243d07702 /4.4.1 | |
parent | fix from upstream for building with newer glibc #424970 (diff) | |
download | gcc-patches-12be1aa9e0240bc2083cabf00ec89d0e743ca16d.tar.gz gcc-patches-12be1aa9e0240bc2083cabf00ec89d0e743ca16d.tar.bz2 gcc-patches-12be1aa9e0240bc2083cabf00ec89d0e743ca16d.zip |
drop -Werror from libgfortran builds
Diffstat (limited to '4.4.1')
-rw-r--r-- | 4.4.1/gentoo/15_all_libgfortran-Werror.patch | 16 | ||||
-rw-r--r-- | 4.4.1/gentoo/README.history | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/4.4.1/gentoo/15_all_libgfortran-Werror.patch b/4.4.1/gentoo/15_all_libgfortran-Werror.patch new file mode 100644 index 0000000..31fca6d --- /dev/null +++ b/4.4.1/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.4.1/gentoo/README.history b/4.4.1/gentoo/README.history index d747a6e..f9fb65f 100644 --- a/4.4.1/gentoo/README.history +++ b/4.4.1/gentoo/README.history @@ -1,5 +1,6 @@ 1.1 [pending] - 10_all_gcc-default-fortify-source.patch + + 15_all_libgfortran-Werror.patch + 27_all_gcj-glibc-2.15-pr50888.patch 1.0 22 Jul 2009 |