summaryrefslogtreecommitdiff
path: root/debian/patches/libgomp-no-werror.diff
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/libgomp-no-werror.diff')
-rw-r--r--debian/patches/libgomp-no-werror.diff14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/patches/libgomp-no-werror.diff b/debian/patches/libgomp-no-werror.diff
new file mode 100644
index 0000000..da73a21
--- /dev/null
+++ b/debian/patches/libgomp-no-werror.diff
@@ -0,0 +1,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.