mirror of
https://github.com/golang/go
synced 2024-11-22 00:24:41 -07:00
builder: pass GOHOSTOS and GOHOSTARCH to build
R=rsc CC=golang-dev https://golang.org/cl/2759041
This commit is contained in:
parent
f437d4d356
commit
fe57dd8522
@ -265,6 +265,8 @@ func (b *Builder) buildCommit(c Commit) (err os.Error) {
|
||||
env := []string{
|
||||
"GOOS=" + b.goos,
|
||||
"GOARCH=" + b.goarch,
|
||||
"GOHOSTOS=" + os.Getenv("GOHOSTOS"),
|
||||
"GOHOSTARCH=" + os.Getenv("GOHOSTARCH"),
|
||||
"GOROOT_FINAL=/usr/local/go",
|
||||
"PATH=" + os.Getenv("PATH"),
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user