From 3cb08dd17b52ab435a57ca8db65515b21753c72f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Fri, 6 Mar 2015 10:33:53 +0100 Subject: [PATCH] cross-profiles/i686-musl: also disable _FORTIFY_SOURCE. --- common/cross-profiles/i686-musl.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/cross-profiles/i686-musl.sh b/common/cross-profiles/i686-musl.sh index 0f6a29b0d8..b36e13c85d 100644 --- a/common/cross-profiles/i686-musl.sh +++ b/common/cross-profiles/i686-musl.sh @@ -3,6 +3,8 @@ XBPS_TARGET_ARCH="i686-musl" XBPS_CROSS_TRIPLET="i686-linux-musl" XBPS_CROSS_CFLAGS="-march=i686" +# XXX disable SSP and _FORTIFY_SOURCE XBPS_CFLAGS="-O2 -pipe -fno-stack-protector" +XBPS_CPPFLAGS= XBPS_CXXFLAGS="$XBPS_CFLAGS" XBPS_CROSS_CXXFLAGS="$XBPS_CROSS_CFLAGS"