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