diff options
author | 2012-09-27 21:00:46 +0000 | |
---|---|---|
committer | 2012-09-27 21:00:46 +0000 | |
commit | 12be1aa9e0240bc2083cabf00ec89d0e743ca16d (patch) | |
tree | b9ba318ea2438a0e971a59983a2e5d3243d07702 /4.5.2 | |
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.5.2')
-rw-r--r-- | 4.5.2/gentoo/15_all_libgfortran-Werror.patch | 16 | ||||
-rw-r--r-- | 4.5.2/gentoo/README.history | 1 |
2 files changed, 17 insertions, 0 deletions
diff --git a/4.5.2/gentoo/15_all_libgfortran-Werror.patch b/4.5.2/gentoo/15_all_libgfortran-Werror.patch new file mode 100644 index 0000000..31fca6d --- /dev/null +++ b/4.5.2/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.5.2/gentoo/README.history b/4.5.2/gentoo/README.history index 8755b71..e39450d 100644 --- a/4.5.2/gentoo/README.history +++ b/4.5.2/gentoo/README.history @@ -1,5 +1,6 @@ 1.2 [pending] + 05_all_gcc-4.5.x-siginfo.patch + + 15_all_libgfortran-Werror.patch + 24_all_4.5.2_pr43653_clang_ICE.patch + 27_all_gcj-glibc-2.15-pr50888.patch + 30_all_gcc-4.5-ppc-msingle-pic-base.patch |