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)"