From 1e2cdc28f898bd4305ce8625d6c837b499d235b2 Mon Sep 17 00:00:00 2001 From: Dave Cheney Date: Sun, 16 Feb 2014 20:43:00 +1100 Subject: [PATCH] go.tools/dashboard/builder: respect CGO_ENABLED value from the environment Allow builder owners to set CGO_ENABLED to override the logic in cmd/go LGTM=minux.ma, adg R=golang-codereviews, minux.ma, adg CC=golang-codereviews https://golang.org/cl/63570046 --- builder/env.go | 1 + 1 file changed, 1 insertion(+) diff --git a/builder/env.go b/builder/env.go index a49843d1..3780a790 100644 --- a/builder/env.go +++ b/builder/env.go @@ -20,6 +20,7 @@ import ( // to the envv of its subprocesses. var extraEnv = []string{ "GOARM", + "CGO_ENABLED", // For Unix derivatives. "CC",