cross-powerpc64-linux-gnu: unrestrict to all glibc/64bit

This commit is contained in:
q66 2020-03-29 06:55:37 +02:00
parent 8555f59b43
commit 479d763f3f
1 changed files with 12 additions and 1 deletions

View File

@ -34,7 +34,18 @@ makedepends="isl15-devel libmpc-devel zlib-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}"
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" = "ppc64" ]; then
broken="Can't build crosstoolchain to itself"
fi
_apply_patch() {
local args="$1" pname="$(basename $2)"