aboutsummaryrefslogtreecommitdiff
blob: c39ca373a99e6aafc9ea7878d0150c2590a476a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
libatomic does not respect --disable-werror

https://bugs.gentoo.org/475350
--- a/libatomic/configure.ac
+++ b/libatomic/configure.ac
@@ -253,7 +253,7 @@
 
 # Add -Wall -Werror if we are using GCC.
 if test "x$GCC" = "xyes"; then
-  XCFLAGS="$XCFLAGS -Wall -Werror"
+  XCFLAGS="$XCFLAGS -Wall"
 fi
 
 # Add CET specific flags if CET is enabled
--- a/libatomic/configure
+++ b/libatomic/configure
@@ -15571,7 +15571,7 @@
 
 # Add -Wall -Werror if we are using GCC.
 if test "x$GCC" = "xyes"; then
-  XCFLAGS="$XCFLAGS -Wall -Werror"
+  XCFLAGS="$XCFLAGS -Wall"
 fi
 
 # Add CET specific flags if CET is enabled