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

This commit is contained in:
q66 2020-03-29 06:52:34 +02:00
parent 5fbbc66bc1
commit 32cecba0b2
1 changed files with 8 additions and 1 deletions

View File

@ -35,13 +35,20 @@ nopie=yes
nodebug=yes
create_wrksrc=yes
archs="x86_64* ppc64le"
hostmakedepends="tar gcc-objc gcc-go flex perl python3"
makedepends="zlib-devel gmp-devel mpfr-devel libmpc-devel isl15-devel"
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" = "aarch64-musl" ]; then
broken="Can't build crosstoolchain to itself"
fi
_apply_patch() {
local args="$1" pname="$(basename $2)"