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 <james@tailscale.com>
pull/505/head
James Tucker 3 months ago committed by James Tucker
parent 72c410465c
commit 7888447f3f

@ -85,6 +85,10 @@ AVD ?= tailscale-$(HOST_ARCH)
export AVD_IMAGE export AVD_IMAGE
export AVD export AVD
# Use our toolchain or the one that is specified, do not perform dynamic toolchain switching.
GOTOOLCHAIN=local
export GOTOOLCHAIN
# TOOLCHAINDIR is set by fdoid CI and used by tool/* scripts. # TOOLCHAINDIR is set by fdoid CI and used by tool/* scripts.
TOOLCHAINDIR ?= TOOLCHAINDIR ?=
export TOOLCHAINDIR export TOOLCHAINDIR

Loading…
Cancel
Save