From 425e31cab0f075931c4fefb692d72b337c86a7d6 Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 29 Mar 2020 06:54:33 +0200 Subject: [PATCH] cross-powerpc-linux-gnu: unrestrict to all glibc --- srcpkgs/cross-powerpc-linux-gnu/template | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/srcpkgs/cross-powerpc-linux-gnu/template b/srcpkgs/cross-powerpc-linux-gnu/template index 89beb9f5af8..af78ecf2164 100644 --- a/srcpkgs/cross-powerpc-linux-gnu/template +++ b/srcpkgs/cross-powerpc-linux-gnu/template @@ -34,7 +34,14 @@ 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="i686 x86_64 ppc64le ppc64" + +if [ "$XBPS_TARGET_LIBC" != "glibc" ]; then + broken="glibc crosstoolchain only available on glibc" +fi + +if [ "$XBPS_TARGET_MACHINE" = "ppc" ]; then + broken="Can't build crosstoolchain to itself" +fi _apply_patch() { local args="$1" pname="$(basename $2)"