cross-aarch64-linux-gnu: unrestrict to all 64-bit glibc

This commit is contained in:
q66 2020-03-29 06:51:57 +02:00
parent d4145244fe
commit 5fbbc66bc1
1 changed files with 12 additions and 1 deletions

View File

@ -35,7 +35,18 @@ makedepends="isl15-devel libmpc-devel zlib-devel"
depends="${pkgname}-libc-${version}_${revision}"
nostrip_files="libcaf_single.a libgcc.a libgcov.a libgcc_eh.a
libgnarl_pic.a libgnarl.a libgnat_pic.a libgnat.a"
archs="x86_64 ppc64le"
if [ "$XBPS_TARGET_LIBC" != "glibc" ]; then
broken="glibc crosstoolchain only available on glibc"
fi
if [ "$XBPS_TARGET_WORDSIZE" != "64" ]; then
broken="64-bit crosstoolchain only available on 64-bit host"
fi
if [ "$XBPS_TARGET_MACHINE" = "aarch64" ]; then
broken="Can't build crosstoolchain to itself"
fi
_apply_patch() {
local args="$1" pname="$(basename $2)"