cross-x86_64-linux-musl: unrestrict to all 64bit

This commit is contained in:
q66 2020-03-29 07:09:40 +02:00
parent a08f2a9472
commit 78808e071b
1 changed files with 8 additions and 1 deletions

View File

@ -12,7 +12,6 @@ _sysroot="/usr/${_triplet}"
pkgname=cross-${_triplet}
version=0.33
revision=2
archs="i686* x86_64 ppc64le"
short_desc="Cross toolchain for x86_64 with musl"
maintainer="Orphaned <orphan@voidlinux.org>"
homepage="https://www.voidlinux.org/"
@ -40,6 +39,14 @@ nostrip_files="libcaf_single.a libgcc.a libgcov.a libgcc_eh.a
libgnarl_pic.a libgnarl.a libgnat_pic.a libgnat.a"
depends="${pkgname}-libc-${version}_${revision}"
if [ "$XBPS_TARGET_WORDSIZE" != "64" ]; then
broken="64-bit crosstoolchain only available on 64-bit host"
fi
if [ "$XBPS_TARGET_MACHINE" = "x86_64-musl" ]; then
broken="Can't build crosstoolchain to itself"
fi
_apply_patch() {
local args="$1" pname="$(basename $2)"