aboutsummaryrefslogtreecommitdiff
path: root/src/make.bat
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.bat
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.bat')
-rw-r--r--src/make.bat4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/make.bat b/src/make.bat
index 62401b622d..fab9c88ff6 100644
--- a/src/make.bat
+++ b/src/make.bat
@@ -57,8 +57,8 @@ if "x%GOROOT_BOOTSTRAP%"=="x" set GOROOT_BOOTSTRAP=%HOMEDRIVE%%HOMEPATH%\Go1.4
if not exist "%GOROOT_BOOTSTRAP%\bin\go.exe" goto bootstrapfail
setlocal
set GOROOT=%GOROOT_BOOTSTRAP%
-set GOOS=%GOHOSTOS%
-set GOARCH=%GOHOSTARCH%
+set GOOS=
+set GOARCH=
"%GOROOT_BOOTSTRAP%\bin\go" build -o cmd\dist\dist.exe .\cmd\dist
endlocal
if errorlevel 1 goto fail