aboutsummaryrefslogtreecommitdiff
blob: 416808a63b15f6c804c0bcd9c63bc71f8d15ec8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
libgomp does not respect --disable-werror

https://bugs.gentoo.org/229059
http://gcc.gnu.org/PR38436
--- a/libgomp/configure.ac
+++ b/libgomp/configure.ac
@@ -4282,4 +4282,4 @@ 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
--- a/libgomp/configure
+++ b/libgomp/configure
@@ -4282,4 +4282,4 @@ 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