aboutsummaryrefslogtreecommitdiff
path: root/4.6.0
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-09-27 21:00:46 +0000
committerMike Frysinger <vapier@gentoo.org>2012-09-27 21:00:46 +0000
commit12be1aa9e0240bc2083cabf00ec89d0e743ca16d (patch)
treeb9ba318ea2438a0e971a59983a2e5d3243d07702 /4.6.0
parentfix from upstream for building with newer glibc #424970 (diff)
downloadgcc-patches-12be1aa9e0240bc2083cabf00ec89d0e743ca16d.tar.gz
gcc-patches-12be1aa9e0240bc2083cabf00ec89d0e743ca16d.tar.bz2
gcc-patches-12be1aa9e0240bc2083cabf00ec89d0e743ca16d.zip
drop -Werror from libgfortran builds
Diffstat (limited to '4.6.0')
-rw-r--r--4.6.0/gentoo/15_all_libgfortran-Werror.patch16
-rw-r--r--4.6.0/gentoo/README.history3
2 files changed, 18 insertions, 1 deletions
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