1
0
mirror of https://github.com/golang/go synced 2024-11-22 18:54:44 -07:00

dashboard/builder: pass $CC to builder if set

R=adg, minux.ma, rsc
CC=golang-dev
https://golang.org/cl/6843068
This commit is contained in:
Dave Cheney 2012-11-22 08:41:02 +11:00
parent dd43bf807d
commit 6a1036422f

View File

@ -32,6 +32,7 @@ const (
// These variables are copied from the gobuilder's environment // These variables are copied from the gobuilder's environment
// to the envv of its subprocesses. // to the envv of its subprocesses.
var extraEnv = []string{ var extraEnv = []string{
"CC",
"GOARM", "GOARM",
"GOHOSTARCH", "GOHOSTARCH",
"GOHOSTOS", "GOHOSTOS",