From 5d92d4dc98dd3ae6e4112b79e9d8d85879853062 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Mon, 31 Mar 2025 15:17:13 +0200 Subject: [PATCH] Makefile: don't set GOROOT This *should* not be needed. Using the right `go` binary should do the job. It might break if users have explicitly set GOROOT (in which case they probably need to fix that). This avoids a subprocess call inside `make`. --- GNUmakefile | 1 - 1 file changed, 1 deletion(-) diff --git a/GNUmakefile b/GNUmakefile index c7c8948a6..5c41d57fb 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -34,7 +34,6 @@ LLVM_NM ?= $(call findLLVMTool,llvm-nm) # Go binary and GOROOT to select GO ?= go -export GOROOT = $(shell $(GO) env GOROOT) # Flags to pass to go test. GOTESTFLAGS ?=