summaryrefslogtreecommitdiff
path: root/debian/patches/libgomp-no-werror.diff
blob: da73a21ff9128b6c332410d33fef98bc6d7f1de0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# DP: Disable -Werror for libgomp. PR libgomp/90585
--- a/src/libgomp/configure.ac
+++ b/src/libgomp/configure.ac
@@ -113,8 +113,9 @@
 save_CFLAGS="$CFLAGS"
 
 # Add -Wall -Werror if we are using GCC.
+# FIXME: -Werror fails in the x32 multilib variant
 if test "x$GCC" = "xyes"; then
-  XCFLAGS="$XCFLAGS -Wall -Werror"
+  XCFLAGS="$XCFLAGS -Wall"
 fi
 
 # Find other programs we need.