From 6a8c72c7b007640c7f028aedc7394ebe6739f155 Mon Sep 17 00:00:00 2001 From: Jeffery To Date: Mon, 11 Feb 2019 16:00:56 +0800 Subject: [PATCH] golang: Ignore GOFLAGS, GO111MODULE environment variables These were added in Go 1.11. Signed-off-by: Jeffery To --- lang/golang/golang-values.mk | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lang/golang/golang-values.mk b/lang/golang/golang-values.mk index 893f9296de..caae21efb7 100644 --- a/lang/golang/golang-values.mk +++ b/lang/golang/golang-values.mk @@ -13,7 +13,7 @@ include $(GO_INCLUDE_DIR)/golang-version.mk unexport \ - GOARCH GOBIN GOCACHE GODEBUG GOHOSTARCH GOOS GOPATH GORACE GOROOT GOTMPDIR GCCGO \ + GOARCH GOBIN GOCACHE GODEBUG GOFLAGS GOHOSTARCH GOOS GOPATH GORACE GOROOT GOTMPDIR GCCGO \ CGO_ENABLED \ CGO_CFLAGS CGO_CFLAGS_ALLOW CGO_CFLAGS_DISALLOW \ CGO_CPPFLAGS CGO_CPPFLAGS_ALLOW CGO_CPPFLAGS_DISALLOW \ @@ -21,6 +21,7 @@ unexport \ CGO_FFLAGS CGO_FFLAGS_ALLOW CGO_FFLAGS_DISALLOW \ CGO_LDFLAGS CGO_LDFLAGS_ALLOW CGO_LDFLAGS_DISALLOW \ GOARM GO386 GOMIPS GOMIPS64 \ + GO111MODULE \ GOROOT_FINAL GO_EXTLINK_ENABLED GIT_ALLOW_PROTOCOL \ CC_FOR_TARGET CXX_FOR_TARGET GO_DISTFLAGS GO_GCFLAGS GO_LDFLAGS GOBUILDTIMELOGFILE GOROOT_BOOTSTRAP \ BOOT_GO_GCFLAGS GOEXPERIMENT GOBOOTSTRAP_TOOLEXEC -- 2.30.2