cross-i686-linux-musl: no need to build it on i686-musl.

This commit is contained in:
Juan RP 2014-01-14 12:09:42 +01:00
parent 01cc550bb7
commit 5c5e054633

View file

@ -32,6 +32,12 @@ makedepends="libfl-devel zlib-devel gmp-devel mpfr-devel libmpc-devel"
nostrip_files="libgcc.a libgcov.a libgcc_eh.a"
depends="${pkgname}-libc-${version}_${revision}"
if [ "$XBPS_TARGET_MACHINE" = "i686-musl" ]; then
# No need to build a cross compiler if we are running x86_64-musl.
msg_normal "${pkgname}-${version}: cannot be built on $XBPS_TARGET_MACHINE\n"
exit 0
fi
_apply_patch() {
local pname="$(basename $1)"