gcc: enable fortran, objc, objc++ langs in bootstrap builds too.

This commit is contained in:
Juan RP 2015-05-07 08:26:04 +02:00
parent 867b8478b2
commit 4b84ae0dab

View file

@ -24,7 +24,7 @@ replaces="libmudflap>=0 libmudflap-devel>=0 chroot-gcc>=0"
subpackages="libgcc libgomp libgomp-devel libatomic libatomic-devel"
subpackages+=" libitm libitm-devel libssp libssp-devel gcc-c++"
if [ "$CHROOT_READY" -a -z "$CROSS_BUILD" ]; then
if [ -z "$CROSS_BUILD" ]; then
subpackages+=" gcc-fortran gcc-objc gcc-objc++"
subpackages+=" libgfortran-devel libgfortran"
subpackages+=" libobjc-devel libobjc"
@ -116,7 +116,6 @@ do_configure() {
_args+=" --with-isl=${XBPS_MASTERDIR}/usr"
_args+=" --with-mpc=${XBPS_MASTERDIR}/usr"
_args+=" --with-cloog=${XBPS_MASTERDIR}/usr"
_langs="c,c++,lto"
fi
case "$XBPS_TARGET_MACHINE" in
aarch64*|*-musl) _args+=" --disable-libsanitizer";;