From: Jeffery To Date: Mon, 11 Feb 2019 08:00:56 +0000 (+0800) Subject: golang: Ignore GOFLAGS, GO111MODULE environment variables X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=6a8c72c7b007640c7f028aedc7394ebe6739f155;p=feed%2Fpackages.git golang: Ignore GOFLAGS, GO111MODULE environment variables These were added in Go 1.11. Signed-off-by: Jeffery To --- 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