linux-lts-wily: Turn off strong stack protection as it requires gcc 4.9+
This commit is contained in:
parent
18c622b4c7
commit
a44e7eb995
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue