aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2021-05-16 11:28:53 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2021-05-16 11:28:53 +0100
commit52f599fc37324ea16463bb1fc0c1a3cdedd80e29 (patch)
treefb75b84cfb7a3c4284b5ee95a5fa2040e7b120c7 /8.5.0/gentoo/18_all_libgfortran-Werror.patch
parent8.4.0: abandoned in favour of 8.5.0 (diff)
downloadgcc-patches-52f599fc37324ea16463bb1fc0c1a3cdedd80e29.tar.gz
gcc-patches-52f599fc37324ea16463bb1fc0c1a3cdedd80e29.tar.bz2
gcc-patches-52f599fc37324ea16463bb1fc0c1a3cdedd80e29.zip
8.5.0: cut 1 patchset, a copy of 8.4.0 with upstreamed pacthes removed
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to '8.5.0/gentoo/18_all_libgfortran-Werror.patch')
-rw-r--r--8.5.0/gentoo/18_all_libgfortran-Werror.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/8.5.0/gentoo/18_all_libgfortran-Werror.patch b/8.5.0/gentoo/18_all_libgfortran-Werror.patch
new file mode 100644
index 0000000..f6c26bf
--- /dev/null
+++ b/8.5.0/gentoo/18_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"