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

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


--- a/libgomp/configure
+++ b/libgomp/configure
@@ -4282,7 +4282,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.