diff options
Diffstat (limited to '10.1.0/gentoo/16_all_libgfortran-Werror.patch')
-rw-r--r-- | 10.1.0/gentoo/16_all_libgfortran-Werror.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/10.1.0/gentoo/16_all_libgfortran-Werror.patch b/10.1.0/gentoo/16_all_libgfortran-Werror.patch new file mode 100644 index 0000000..f6c26bf --- /dev/null +++ b/10.1.0/gentoo/16_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" |