From 5f43c8c00d20b8e2124fce292e8a241b6ee646cd Mon Sep 17 00:00:00 2001 From: q66 Date: Sun, 1 Dec 2019 19:37:46 +0100 Subject: [PATCH] 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] --- srcpkgs/gcc/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/gcc/template b/srcpkgs/gcc/template index 86e549543af..ecc2b87fe67 100644 --- a/srcpkgs/gcc/template +++ b/srcpkgs/gcc/template @@ -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