xbps-static-git: use only_for_archs instead.

This commit is contained in:
Juan RP 2014-03-20 16:44:48 +01:00
parent 5d469f46e5
commit bfb28dc32a

View File

@ -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() {