diff options
Diffstat (limited to 'main/gcc/15_all_gcc-libgomp-no-werror.patch')
-rw-r--r-- | main/gcc/15_all_gcc-libgomp-no-werror.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/main/gcc/15_all_gcc-libgomp-no-werror.patch b/main/gcc/15_all_gcc-libgomp-no-werror.patch new file mode 100644 index 0000000000..1c3ec3a1e5 --- /dev/null +++ b/main/gcc/15_all_gcc-libgomp-no-werror.patch @@ -0,0 +1,16 @@ +libgomp does not respect --disable-werror + +http://bugs.gentoo.org/229059 +http://gcc.gnu.org/PR38436 + +--- gcc-4.3.2/libgomp/configure ++++ gcc-4.3.2/libgomp/configure +@@ -3297,7 +3297,7 @@ + + # Add -Wall -Werror if we are using GCC. + if test "x$GCC" = "xyes"; then +- XCFLAGS="$XCFLAGS -Wall -Werror" ++ XCFLAGS="$XCFLAGS -Wall" + fi + + # Find other programs we need. |