gcc: handle cross subpkgs correctly.

This commit is contained in:
Juan RP 2015-05-14 11:38:21 +02:00
parent b5bce8db38
commit 5c9280a5c0

View file

@ -30,7 +30,7 @@ if [ -z "$CROSS_BUILD" ]; then
subpackages+=" libobjc-devel libobjc"
fi
if [ -n "$CHROOT_READY" ]; then
if [ -n "$CHROOT_READY" -a -z "$CROSS_BUILD" ]; then
case "$XBPS_TARGET_MACHINE" in
*-musl)
# XXX disable go and java with musl