summaryrefslogtreecommitdiffstats
path: root/main/gcc/15_all_libgomp-Werror.patch
blob: 3456e8ae824b2ddaa29ec311f57fc2a95c2faafa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
libgomp does not respect --disable-werror

https://bugs.gentoo.org/229059
http://gcc.gnu.org/PR38436

--- a/libgomp/configure
+++ b/libgomp/configure
@@ -4284,7 +4284,7 @@ save_CFLAGS="$CFLAGS"
 
 # 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.