diff --git a/srcpkgs/xbps-static-git/template b/srcpkgs/xbps-static-git/template index 51ac53fb965..d86d267f0d1 100644 --- a/srcpkgs/xbps-static-git/template +++ b/srcpkgs/xbps-static-git/template @@ -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() {