cross-i686-linux-musl: no need to build it on i686-musl.
This commit is contained in:
parent
01cc550bb7
commit
5c5e054633
1 changed files with 6 additions and 0 deletions
|
@ -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)"
|
||||
|
||||
|
|
Loading…
Reference in a new issue