Skip to content

Commit 7888447

Browse files
committed
Makefile: disable GOTOOLCHAIN from dynamic switching
Go has a new build facility that can utilize other toolchains if a module says so, but we manage the toolchain in our own way, so disable it. Updates #501 Signed-off-by: James Tucker <[email protected]>
1 parent 72c4104 commit 7888447

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,10 @@ AVD ?= tailscale-$(HOST_ARCH)
8585
export AVD_IMAGE
8686
export AVD
8787

88+
# Use our toolchain or the one that is specified, do not perform dynamic toolchain switching.
89+
GOTOOLCHAIN=local
90+
export GOTOOLCHAIN
91+
8892
# TOOLCHAINDIR is set by fdoid CI and used by tool/* scripts.
8993
TOOLCHAINDIR ?=
9094
export TOOLCHAINDIR

0 commit comments

Comments
 (0)