]> Cypherpunks repositories - gostls13.git/commit
cmd/go: force default env vars onto tool subprocesses
authorRuss Cox <rsc@golang.org>
Mon, 2 Mar 2015 01:03:49 +0000 (20:03 -0500)
committerRuss Cox <rsc@golang.org>
Mon, 2 Mar 2015 17:52:03 +0000 (17:52 +0000)
commitb38fa898c682d6d3f709e4a84710938de5b29d2d
treed105c0d5737d3458c8ae5b09cfe15fdc4af9d90d
parentdeff22dd881319e76604179b5b290fac18d5362f
cmd/go: force default env vars onto tool subprocesses

This avoids needing every invoked tool to have an identical
computation of the build defaults as the go command does.
It makes sure the tools all know what the go command wants.

Change-Id: I484f15982bfb93c86cde8fc9df7f456505270b87
Reviewed-on: https://go-review.googlesource.com/6409
Reviewed-by: Rob Pike <r@golang.org>
src/cmd/go/main.go