aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-11-14 22:58:33 +0000
committerSergei Trofimovich <slyfox@gentoo.org>2019-11-14 22:58:33 +0000
commite5d148194b4ab01270251f6730c5ac078aed8146 (patch)
tree53a0d76172fad5b35f4890155a64937f16354e9c /7.5.0/gentoo/14_all_libgfortran-Werror.patch
parent4.6.4: expand 97_all_cgraph_node-gcc-9.patch to allow gcc-9 (diff)
downloadgcc-patches-e5d148194b4ab01270251f6730c5ac078aed8146.tar.gz
gcc-patches-e5d148194b4ab01270251f6730c5ac078aed8146.tar.bz2
gcc-patches-e5d148194b4ab01270251f6730c5ac078aed8146.zip
7.5.0: patchset 1 based on 7.4.0 patchset
The difference from 7.4.0 is a single dropped patch: - 21_all_kr-decl-PR88214.patch: backported upstream Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to '7.5.0/gentoo/14_all_libgfortran-Werror.patch')
-rw-r--r--7.5.0/gentoo/14_all_libgfortran-Werror.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/7.5.0/gentoo/14_all_libgfortran-Werror.patch b/7.5.0/gentoo/14_all_libgfortran-Werror.patch
new file mode 100644
index 0000000..f6c26bf
--- /dev/null
+++ b/7.5.0/gentoo/14_all_libgfortran-Werror.patch
@@ -0,0 +1,20 @@
+libgfortran does not respect --disable-werror
+
+https://bugs.gentoo.org/433435
+http://gcc.gnu.org/PR54724
+
+
+--- a/libgfortran/configure.ac
++++ b/libgfortran/configure.ac
+@@ -140,3 +140,3 @@ AM_PROG_CC_C_O
+ 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 C11 and C99 routines when available. This makes
+--- a/libgfortran/configure
++++ b/libgfortran/configure
+@@ -5764,3 +5764,3 @@ 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"