Skip to content

Commit 5d92d4d

Browse files
aykevldeadprogram
authored andcommitted
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`.
1 parent 682b3a9 commit 5d92d4d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

GNUmakefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ LLVM_NM ?= $(call findLLVMTool,llvm-nm)
3434

3535
# Go binary and GOROOT to select
3636
GO ?= go
37-
export GOROOT = $(shell $(GO) env GOROOT)
3837

3938
# Flags to pass to go test.
4039
GOTESTFLAGS ?=

0 commit comments

Comments
 (0)