linuxX.X: no need to disable -fstack-protector-strong with musl.
This commit is contained in:
parent
2f9f85e3f5
commit
e1a2008624
4 changed files with 0 additions and 32 deletions
|
@ -55,14 +55,6 @@ do_configure() {
|
||||||
fi
|
fi
|
||||||
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version.
|
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version.
|
||||||
sed -i -e "s|^\(CONFIG_LOCALVERSION=\).*|\1\"_${revision}\"|" .config
|
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() {
|
do_build() {
|
||||||
make ${makejobs} prepare
|
make ${makejobs} prepare
|
||||||
|
|
|
@ -55,14 +55,6 @@ do_configure() {
|
||||||
fi
|
fi
|
||||||
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version.
|
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version.
|
||||||
sed -i -e "s|^\(CONFIG_LOCALVERSION=\).*|\1\"_${revision}\"|" .config
|
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() {
|
do_build() {
|
||||||
# Override EXTRAVERSION because we can't have dashes in kernel name
|
# Override EXTRAVERSION because we can't have dashes in kernel name
|
||||||
|
|
|
@ -55,14 +55,6 @@ do_configure() {
|
||||||
fi
|
fi
|
||||||
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version.
|
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version.
|
||||||
sed -i -e "s|^\(CONFIG_LOCALVERSION=\).*|\1\"_${revision}\"|" .config
|
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() {
|
do_build() {
|
||||||
# Override EXTRAVERSION because we can't have dashes in kernel name
|
# Override EXTRAVERSION because we can't have dashes in kernel name
|
||||||
|
|
|
@ -57,14 +57,6 @@ do_configure() {
|
||||||
fi
|
fi
|
||||||
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version.
|
# Always use our revision to CONFIG_LOCALVERSION to match our pkg version.
|
||||||
sed -i -e "s|^\(CONFIG_LOCALVERSION=\).*|\1\"_${revision}\"|" .config
|
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() {
|
do_build() {
|
||||||
# Override EXTRAVERSION because we can't have dashes in kernel name
|
# Override EXTRAVERSION because we can't have dashes in kernel name
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue