aboutsummaryrefslogtreecommitdiff
path: root/src/make.bat
diff options
context:
space:
mode:
authorDmitri Shuralyov <dmitshur@golang.org>2022-03-18 19:57:43 -0400
committerGopher Robot <gobot@golang.org>2022-03-21 18:58:34 +0000
commitd8ce7ae49108dda3b223694df7ebe8f56a1c3032 (patch)
tree456ac81d76b04902580004f5a536f07184c3ae9e /src/make.bat
parentb9d6cea5016835ca5521469631e55f5c489aa0e7 (diff)
downloadgo-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.bat')
-rw-r--r--src/make.bat1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/make.bat b/src/make.bat
index 6bffee050e..56da417dd1 100644
--- a/src/make.bat
+++ b/src/make.bat
@@ -47,6 +47,7 @@ setlocal
:nolocal
set GOENV=off
+set GOWORK=off
set GOBUILDFAIL=0
set GOFLAGS=
set GO111MODULE=