mirror of
https://github.com/golang/go
synced 2024-11-02 11:50:30 +00:00
cmd/dist: fix windows build.
R=golang-dev, bradfitz CC=golang-dev https://golang.org/cl/12351045
This commit is contained in:
parent
7acf9e93de
commit
0fe65c4f49
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ echo # Building C bootstrap tool.
|
||||||
echo cmd/dist
|
echo cmd/dist
|
||||||
if not exist ..\bin\tool mkdir ..\bin\tool
|
if not exist ..\bin\tool mkdir ..\bin\tool
|
||||||
:: Windows has no glob expansion, so spell out cmd/dist/*.c.
|
:: 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/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/goc2c.c cmd/dist/main.c cmd/dist/windows.c cmd/dist/arm.c
|
||||||
if errorlevel 1 goto fail
|
if errorlevel 1 goto fail
|
||||||
.\cmd\dist\dist env -wp >env.bat
|
.\cmd\dist\dist env -wp >env.bat
|
||||||
if errorlevel 1 goto fail
|
if errorlevel 1 goto fail
|
||||||
|
|
Loading…
Reference in a new issue