mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
builder: set $GOBUILDEXIT for Windows
Actually %GOBUILDEXIT% I suppose. R=golang-dev CC=golang-dev https://golang.org/cl/5651058
This commit is contained in:
parent
ce63ec93ce
commit
0bc6836e81
2 changed files with 2 additions and 1 deletions
|
|
@ -478,6 +478,7 @@ func (b *Builder) envv() []string {
|
|||
"GOOS=" + b.goos,
|
||||
"GOARCH=" + b.goarch,
|
||||
"GOROOT_FINAL=/usr/local/go",
|
||||
"GOBUILDEXIT=1", // On Windows, exit all.bat with completion status.
|
||||
}
|
||||
for _, k := range extraEnv {
|
||||
s, err := os.Getenverror(k)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue