aboutsummaryrefslogtreecommitdiff
path: root/src/make.rc
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2015-01-14 15:14:54 -0500
committerRuss Cox <rsc@golang.org>2015-01-14 20:17:20 +0000
commit1fac6d182916585ee30ce58486c443549c447a0e (patch)
treeefb0f6e6799244cadf39200ac7f367ba30d09737 /src/make.rc
parentdb47a2706fb1078f6c5ddbaabc5bc09615c0457b (diff)
downloadgo-1fac6d182916585ee30ce58486c443549c447a0e.tar.gz
go-1fac6d182916585ee30ce58486c443549c447a0e.zip
[dev.cc] build: do not pass GOHOSTOS and GOHOSTARCH to Go 1.4 build
Go 1.4 should build what it knows how to build. GOHOSTOS and GOHOSTARCH are for the Go 1.5 build only. Change-Id: Id0f367f03485100a896e61cfdace4ac44a22e16d Reviewed-on: https://go-review.googlesource.com/2818 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/make.rc')
-rwxr-xr-xsrc/make.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/make.rc b/src/make.rc
index 761b93e995..5fe30aced7 100755
--- a/src/make.rc
+++ b/src/make.rc
@@ -58,7 +58,7 @@ if(! test -x $GOROOT_BOOTSTRAP/bin/go){
exit bootstrap
}
rm -f cmd/dist/dist
-GOROOT=$GOROOT_BOOTSTRAP GOOS=$GOHOSTOS GOARCH=$GOHOSTARCH $GOROOT_BOOTSTRAP/bin/go build -o cmd/dist/dist ./cmd/dist
+GOROOT=$GOROOT_BOOTSTRAP GOOS='' GOARCH='' $GOROOT_BOOTSTRAP/bin/go build -o cmd/dist/dist ./cmd/dist
eval `{./cmd/dist/dist env -9}
echo