xbps-static: use only_for_archs instead.

This commit is contained in:
Juan RP 2014-03-20 16:44:22 +01:00
parent ae16515c1f
commit 5d469f46e5
1 changed files with 2 additions and 2 deletions

View File

@ -13,10 +13,10 @@ hostmakedepends="which pkg-config"
makedepends="zlib-devel openssl-devel libarchive-devel>=3.1.2"
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() {