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:
parent
9e2770bfb0
commit
5f43c8c00d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue