diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-12 15:56:45 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-07-12 15:56:45 +0000 |
commit | 3e800bf8214c23fd8ebce936f9f846949750034e (patch) | |
tree | 057e4560c6198189f98f6c2829a1549a7fb45c16 /main/gcc/15_all_libgfortran-Werror.patch | |
parent | 0a61db5bf5537be193aada0990fcdd355ebc264d (diff) | |
download | aports-3e800bf8214c23fd8ebce936f9f846949750034e.tar.bz2 aports-3e800bf8214c23fd8ebce936f9f846949750034e.tar.xz |
main/gcc: upgrade to 4.8.1
TODO: fix gcc-go
Diffstat (limited to 'main/gcc/15_all_libgfortran-Werror.patch')
-rw-r--r-- | main/gcc/15_all_libgfortran-Werror.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/main/gcc/15_all_libgfortran-Werror.patch b/main/gcc/15_all_libgfortran-Werror.patch new file mode 100644 index 0000000000..5f15373d89 --- /dev/null +++ b/main/gcc/15_all_libgfortran-Werror.patch @@ -0,0 +1,17 @@ +libgfortran does not respect --disable-werror + +https://bugs.gentoo.org/433435 +http://gcc.gnu.org/PR54724 + + +--- a/libgfortran/configure ++++ b/libgfortran/configure +@@ -5764,7 +5764,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" |