summaryrefslogtreecommitdiffstats
path: root/main/gcc/15_all_gcc-libgomp-no-werror.patch
blob: 1c3ec3a1e5daa8fc90c84704d8b7f6c3c8c869bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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.