linux-lts-wily: Turn off strong stack protection as it requires gcc 4.9+

This commit is contained in:
Ruben Rodriguez 2015-12-06 10:24:15 -06:00
parent 18c622b4c7
commit a44e7eb995

View file

@ -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