From 63c2bf1a3add96a29b950b2a90db1234f72e5985 Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 29 Mar 2020 06:56:11 +0200 Subject: [PATCH] cross-powerpc64-linux-musl: unrestrict to all 64bit --- srcpkgs/cross-powerpc64-linux-musl/template | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/srcpkgs/cross-powerpc64-linux-musl/template b/srcpkgs/cross-powerpc64-linux-musl/template index 362eaa1d709..81090b3ee65 100644 --- a/srcpkgs/cross-powerpc64-linux-musl/template +++ b/srcpkgs/cross-powerpc64-linux-musl/template @@ -37,7 +37,14 @@ 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}" -archs="x86_64* ppc64le ppc64" + +if [ "$XBPS_TARGET_WORDSIZE" != "64" ]; then + broken="64-bit crosstoolchain only available on 64-bit host" +fi + +if [ "$XBPS_TARGET_MACHINE" = "ppc64-musl" ]; then + broken="Can't build crosstoolchain to itself" +fi _apply_patch() { local args="$1" pname="$(basename $2)"