From d4145244feb05658085deed2c4e0b8682122ed97 Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 29 Mar 2020 07:21:56 +0200 Subject: [PATCH] cross-arm-linux-musleabihf: don't build on self --- srcpkgs/cross-arm-linux-musleabihf/template | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/srcpkgs/cross-arm-linux-musleabihf/template b/srcpkgs/cross-arm-linux-musleabihf/template index ede1b678303..92a7bfc8997 100644 --- a/srcpkgs/cross-arm-linux-musleabihf/template +++ b/srcpkgs/cross-arm-linux-musleabihf/template @@ -42,6 +42,10 @@ 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" = "armv6l-musl" ]; then + broken="Can't build crosstoolchain to itself" +fi + _apply_patch() { local args="$1" pname="$(basename $2)"