Commit fe57dd85 authored by Andrew Gerrand's avatar Andrew Gerrand

builder: pass GOHOSTOS and GOHOSTARCH to build

R=rsc
CC=golang-dev
https://golang.org/cl/2759041
parent f437d4d3
......@@ -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"),
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment