diff options
author | Russ Cox <rsc@golang.org> | 2018-11-16 12:47:33 -0500 |
---|---|---|
committer | Brad Fitzpatrick <bradfitz@golang.org> | 2018-11-16 18:54:22 +0000 |
commit | 2a07c50a5cbf548a313eed6e691be78a0bac8b3e (patch) | |
tree | cc402e92e801f2adc0bf6cbe05c5361cc54ccfe7 /src/make.rc | |
parent | 55e1fc930b3a4efe4ac8ad74ff7844be4c7ef162 (diff) | |
download | go-2a07c50a5cbf548a313eed6e691be78a0bac8b3e.tar.gz go-2a07c50a5cbf548a313eed6e691be78a0bac8b3e.zip |
build: clear GO111MODULE during make.bash etc
The standard build assumes the variable is unset.
Make it so, like we do for GOFLAGS, GOBIN, and so on.
Change-Id: I4ad5695f8021b08bd1a35dd99112970a813d247c
Reviewed-on: https://go-review.googlesource.com/c/149959
Run-TryBot: Russ Cox <rsc@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@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 a97dfc8a01..5f888c19fd 100755 --- a/src/make.rc +++ b/src/make.rc @@ -48,6 +48,7 @@ if(~ $1 -v) { } GOFLAGS=() +GO111MODULE=() GOROOT = `{cd .. && pwd} if(! ~ $#GOROOT_BOOTSTRAP 1) GOROOT_BOOTSTRAP = $home/go1.4 |