initial import from Debian
version: 14.3.0-5 commit: bee30ab0fff2fd6af94c62376c8aa4221bb831e0
This commit is contained in:
17
debian/patches/libitm-no-fortify-source.diff
vendored
Normal file
17
debian/patches/libitm-no-fortify-source.diff
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
# 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
|
||||
|
Reference in New Issue
Block a user