mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-18 03:24:00 +00:00
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:
committed by
Ron Evans
parent
682b3a9523
commit
5d92d4dc98
@@ -34,7 +34,6 @@ LLVM_NM ?= $(call findLLVMTool,llvm-nm)
|
|||||||
|
|
||||||
# Go binary and GOROOT to select
|
# Go binary and GOROOT to select
|
||||||
GO ?= go
|
GO ?= go
|
||||||
export GOROOT = $(shell $(GO) env GOROOT)
|
|
||||||
|
|
||||||
# Flags to pass to go test.
|
# Flags to pass to go test.
|
||||||
GOTESTFLAGS ?=
|
GOTESTFLAGS ?=
|
||||||
|
|||||||
Reference in New Issue
Block a user