aboutsummaryrefslogtreecommitdiff
path: root/4.6.3
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.3
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.3')
-rw-r--r--4.6.3/gentoo/15_all_libgfortran-Werror.patch16
-rw-r--r--4.6.3/gentoo/README.history3
2 files changed, 19 insertions, 0 deletions
diff --git a/4.6.3/gentoo/15_all_libgfortran-Werror.patch b/4.6.3/gentoo/15_all_libgfortran-Werror.patch
new file mode 100644
index 0000000..31fca6d
--- /dev/null
+++ b/4.6.3/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.3/gentoo/README.history b/4.6.3/gentoo/README.history
index 947e9d2..c84886d 100644
--- a/4.6.3/gentoo/README.history
+++ b/4.6.3/gentoo/README.history
@@ -1,3 +1,6 @@
+1.7 27 Sep 2011
+ + 15_all_libgfortran-Werror.patch
+
1.6 11 Aug 2012
+ 65_all_gcc-hppa-section-conflicts-pr52999.patch