gcc: only build go for the final toolchain

The subpackages etc. are not defined when not CHROOT_READY, and
it is not strictly necessary to have gccgo in the initial gcc,
as it can be compiled without having an existing gccgo toolchain.

[ci skip]
This commit is contained in:
q66 2019-12-01 19:37:46 +01:00 committed by Helmut Pozimski
parent 9e2770bfb0
commit 5f43c8c00d

View file

@ -239,7 +239,7 @@ do_configure() {
_args+=" --enable-fast-character"
fi
if [ "$_have_gccgo" = "yes" ]; then
if [ "$_have_gccgo" = "yes" -a -n "$CHROOT_READY" ]; then
_langs+=",go"
fi