mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-07 23:53:51 +02:00
xbps-static: use only_for_archs instead.
This commit is contained in:
parent
ae16515c1f
commit
5d469f46e5
1 changed files with 2 additions and 2 deletions
|
@ -13,10 +13,10 @@ hostmakedepends="which pkg-config"
|
||||||
makedepends="zlib-devel openssl-devel libarchive-devel>=3.1.2"
|
makedepends="zlib-devel openssl-devel libarchive-devel>=3.1.2"
|
||||||
depends="xbps-triggers"
|
depends="xbps-triggers"
|
||||||
|
|
||||||
|
only_for_archs="i686-musl x86_64-musl armv6hf-musl armv7hf-musl"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
i686-musl) CFLAGS+=" -fno-stack-protector";;
|
i686-musl) CFLAGS+=" -fno-stack-protector";;
|
||||||
*-musl) ;;
|
|
||||||
*) msg_error "${pkgname}-${version}: can only be built on musl targets.\n" ;;
|
|
||||||
esac
|
esac
|
||||||
|
|
||||||
do_fetch() {
|
do_fetch() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue