1
0
Files
gcc-14/debian/patches/libitm-no-fortify-source.diff
Konstantin Demin c2c1923c7b initial import from Debian
version: 14.3.0-5
commit: bee30ab0fff2fd6af94c62376c8aa4221bb831e0
2025-08-11 15:00:09 +03:00

18 lines
465 B
Diff

# DP: Build libitm with -U_FORTIFY_SOURCE on x86 and x86_64.
--- a/src/libitm/configure.tgt
+++ b/src/libitm/configure.tgt
@@ -124,6 +124,12 @@ EOF
;;
esac
+# FIXME: ftbfs with -D_FORTIFY_SOURCE (error: invalid use of '__builtin_va_arg_pack ())
+case "${target}" in
+ *-*-linux*)
+ XCFLAGS="${XCFLAGS} -U_FORTIFY_SOURCE"
+esac
+
# For the benefit of top-level configure, determine if the cpu is supported.
test -d ${srcdir}/config/$ARCH || UNSUPPORTED=1