From 8555f59b43a0e57e30524cf290d4c8936b9dec24 Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 29 Mar 2020 06:54:59 +0200 Subject: [PATCH] cross-powerpc-linux-musl: unrestrict to all archs --- srcpkgs/cross-powerpc-linux-musl/template | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/srcpkgs/cross-powerpc-linux-musl/template b/srcpkgs/cross-powerpc-linux-musl/template index 0c27812aa62..c2fee07d5a0 100644 --- a/srcpkgs/cross-powerpc-linux-musl/template +++ b/srcpkgs/cross-powerpc-linux-musl/template @@ -36,13 +36,16 @@ nopie=yes nodebug=yes create_wrksrc=yes -archs="i686* x86_64* ppc64*" 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_MACHINE" = "ppc-musl" ]; then + broken="Can't build crosstoolchain to itself" +fi + _apply_patch() { local args="$1" pname="$(basename $2)"