gcc: do not enable gcj/go langs on bootstrap builds (close #1529).

This commit is contained in:
Juan RP 2015-05-08 18:09:25 +02:00
parent c512d24cd7
commit 20694f1733

View file

@ -28,10 +28,15 @@ if [ -z "$CROSS_BUILD" ]; then
subpackages+=" gcc-fortran gcc-objc gcc-objc++"
subpackages+=" libgfortran-devel libgfortran"
subpackages+=" libobjc-devel libobjc"
# Required by gcj
fi
if [ -z "$CHROOT_READY" ]; then
case "$XBPS_TARGET_MACHINE" in
*-musl);;
*) # XXX disable go and java with musl
*-musl)
# XXX disable go and java with musl
;;
*)
# Required by gcj
hostmakedepends+=" zip unzip"
subpackages+=" gcc-go libgo-devel libgo gcc-gcj libgcj-devel libgcj"
;;