diff options
author | Dmitri Shuralyov <dmitshur@golang.org> | 2022-03-18 19:57:43 -0400 |
---|---|---|
committer | Gopher Robot <gobot@golang.org> | 2022-03-21 18:58:34 +0000 |
commit | d8ce7ae49108dda3b223694df7ebe8f56a1c3032 (patch) | |
tree | 456ac81d76b04902580004f5a536f07184c3ae9e /src/make.rc | |
parent | b9d6cea5016835ca5521469631e55f5c489aa0e7 (diff) | |
download | go-d8ce7ae49108dda3b223694df7ebe8f56a1c3032.tar.gz go-d8ce7ae49108dda3b223694df7ebe8f56a1c3032.zip |
build: force GOWORK=off in make.{bash,bat,rc}
While building Go from source, workspace mode should be disabled,
even if the external environment tries to configure it otherwise.
Fixes #51558.
Change-Id: Icd7577860271f59a8f94406214b111280e4b65b5
Reviewed-on: https://go-review.googlesource.com/c/go/+/393879
Trust: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Dmitri Shuralyov <dmitshur@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Reviewed-by: Michael Matloob <matloob@golang.org>
Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'src/make.rc')
-rwxr-xr-x | src/make.rc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/make.rc b/src/make.rc index 37087d6357..066c3ab323 100755 --- a/src/make.rc +++ b/src/make.rc @@ -48,6 +48,7 @@ if(~ $1 -v) { } GOENV=off +GOWORK=off GOFLAGS=() GO111MODULE=() GOROOT = `{cd .. && pwd} |