diff --git a/helpers/make-linux-lts-wily b/helpers/make-linux-lts-wily index e2ef54be7a651b99f9a8a49ac15b0ad578d236d4..b97e060b419a10e00062b25599eb71a2f86f09f9 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