From a44e7eb99500962a3c8c7e2f4e0e5336094efeb2 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez <ruben@trisquel.info> Date: Sun, 6 Dec 2015 10:24:15 -0600 Subject: [PATCH] linux-lts-wily: Turn off strong stack protection as it requires gcc 4.9+ --- helpers/make-linux-lts-wily | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/helpers/make-linux-lts-wily b/helpers/make-linux-lts-wily index e2ef54be..b97e060b 100644 --- a/helpers/make-linux-lts-wily +++ b/helpers/make-linux-lts-wily @@ -27,6 +27,13 @@ for PATCH in $DATA/*.patch ; do patch -p1 < $PATCH done +# +# Turn off strong stack protection as it requires gcc 4.9+ +# +/bin/sed -i 's/^.*CONFIG_CC_STACKPROTECTOR_REGULAR.*$/CONFIG_CC_STACKPROTECTOR_REGULAR=y/' debian.wily/config/config.common.ubuntu debian.master/config/config.common.ubuntu +/bin/sed -i 's/^CONFIG_CC_STACKPROTECTOR_STRONG.*$/# CONFIG_CC_STACKPROTECTOR_STRONG is not set/' debian.wily/config/config.common.ubuntu debian.master/config/config.common.ubuntu +/bin/sed -i 's/CONFIG_CC_STACKPROTECTOR_STRONG/CONFIG_CC_STACKPROTECTOR_REGULAR/' debian.wily/config/annotations debian.master/config/annotations + sh $DATA/deblob-4.2 --force # Compile with less modules and avoid abi check -- GitLab