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`.
This commit is contained in:
Ayke van Laethem
2025-03-31 15:17:13 +02:00
committed by Ron Evans
parent 682b3a9523
commit 5d92d4dc98
-1
View File
@@ -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 ?=