xbps-static-git: use only_for_archs instead.
This commit is contained in:
parent
5d469f46e5
commit
bfb28dc32a
1 changed files with 2 additions and 2 deletions
|
@ -15,10 +15,10 @@ provides="xbps-static-${version}_${revision}"
|
||||||
replaces="xbps-static>=0"
|
replaces="xbps-static>=0"
|
||||||
depends="xbps-triggers"
|
depends="xbps-triggers"
|
||||||
|
|
||||||
|
only_for_archs="i686-musl x86_64-musl armv6hf-musl armv7hf-musl"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686-musl) CFLAGS+=" -fno-stack-protector";;
|
i686-musl) CFLAGS+=" -fno-stack-protector";;
|
||||||
*-musl) ;;
|
|
||||||
*) msg_error "${pkgname}-${version}: can only be built on musl targets.\n" ;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
do_fetch() {
|
do_fetch() {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue