linuxX.X: no need to disable -fstack-protector-strong with musl.

This commit is contained in:
Juan RP 2015-02-07 11:38:59 +01:00
parent 2f9f85e3f5
commit e1a2008624
4 changed files with 0 additions and 32 deletions

View File

@ -55,14 +55,6 @@ do_configure() {
fi
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version.
sed -i -e "s|^\(CONFIG_LOCALVERSION=\).*|\1\"_${revision}\"|" .config
# XXX disable -fstack-protector-strong with musl; remove this if gcc>=4.9
# is supported with musl.
case "$XBPS_TARGET_MACHINE" in
*-musl)
sed -i -e 's|\(CONFIG_CC_STACKPROTECTOR_STRONG\).*|# \1 is not set|' .config
;;
esac
}
do_build() {
make ${makejobs} prepare

View File

@ -55,14 +55,6 @@ do_configure() {
fi
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version.
sed -i -e "s|^\(CONFIG_LOCALVERSION=\).*|\1\"_${revision}\"|" .config
# XXX disable -fstack-protector-strong with musl; remove this if gcc>=4.9
# is supported with musl.
case "$XBPS_TARGET_MACHINE" in
*-musl)
sed -i -e 's|\(CONFIG_CC_STACKPROTECTOR_STRONG\).*|# \1 is not set|' .config
;;
esac
}
do_build() {
# Override EXTRAVERSION because we can't have dashes in kernel name

View File

@ -55,14 +55,6 @@ do_configure() {
fi
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version.
sed -i -e "s|^\(CONFIG_LOCALVERSION=\).*|\1\"_${revision}\"|" .config
# XXX disable -fstack-protector-strong with musl; remove this if gcc>=4.9
# is supported with musl.
case "$XBPS_TARGET_MACHINE" in
*-musl)
sed -i -e 's|\(CONFIG_CC_STACKPROTECTOR_STRONG\).*|# \1 is not set|' .config
;;
esac
}
do_build() {
# Override EXTRAVERSION because we can't have dashes in kernel name

View File

@ -57,14 +57,6 @@ do_configure() {
fi
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version.
sed -i -e "s|^\(CONFIG_LOCALVERSION=\).*|\1\"_${revision}\"|" .config
# XXX disable -fstack-protector-strong with musl; remove this if gcc>=4.9
# is supported with musl.
case "$XBPS_TARGET_MACHINE" in
*-musl)
sed -i -e 's|\(CONFIG_CC_STACKPROTECTOR_STRONG\).*|# \1 is not set|' .config
;;
esac
}
do_build() {
# Override EXTRAVERSION because we can't have dashes in kernel name