summaryrefslogtreecommitdiff
path: root/src/make.bat
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-09-07 07:31:53 -0400
committerRuss Cox <rsc@golang.org>2014-09-07 07:31:53 -0400
commit7c498a953101e22306c8d568b161be7cd00f0b1e (patch)
treed60cbb9cba8464e8b746e2a829c7a37d2c772a08 /src/make.bat
parent167d152b2bc375ac9875edc302ad7d7e396fc9ce (diff)
downloadgo-7c498a953101e22306c8d568b161be7cd00f0b1e.tar.gz
build: fix windows make.bat
The Unix make.bash builds cmd/dist from *.c. make.bat apparently does not. TBR=r CC=golang-codereviews https://codereview.appspot.com/137280043
Diffstat (limited to 'src/make.bat')
-rw-r--r--src/make.bat2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/make.bat b/src/make.bat
index a1a6c14a4..fff1eb601 100644
--- a/src/make.bat
+++ b/src/make.bat
@@ -60,7 +60,7 @@ echo # Building C bootstrap tool.
echo cmd/dist
if not exist ..\bin\tool mkdir ..\bin\tool
:: Windows has no glob expansion, so spell out cmd/dist/*.c.
-gcc -O2 -Wall -Werror -o cmd/dist/dist.exe -Icmd/dist %DEFGOROOT% cmd/dist/buf.c cmd/dist/build.c cmd/dist/buildgc.c cmd/dist/buildgo.c cmd/dist/buildruntime.c cmd/dist/goc2c.c cmd/dist/main.c cmd/dist/windows.c cmd/dist/arm.c
+gcc -O2 -Wall -Werror -o cmd/dist/dist.exe -Icmd/dist %DEFGOROOT% cmd/dist/buf.c cmd/dist/build.c cmd/dist/buildgc.c cmd/dist/buildgo.c cmd/dist/buildruntime.c cmd/dist/main.c cmd/dist/windows.c cmd/dist/arm.c
if errorlevel 1 goto fail
.\cmd\dist\dist env -wp >env.bat
if errorlevel 1 goto fail