cross-arm-linux-musleabihf: don't build on self

This commit is contained in:
q66 2020-03-29 07:21:56 +02:00
parent 6ac8db74cc
commit d4145244fe
1 changed files with 4 additions and 0 deletions

View File

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