xbps-static: use only_for_archs instead.
This commit is contained in:
parent
ae16515c1f
commit
5d469f46e5
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue