mirror of
https://github.com/golang/go
synced 2024-09-05 07:54:46 +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
|
@ -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/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
|
||||
.\cmd\dist\dist env -wp >env.bat
|
||||
if errorlevel 1 goto fail
|
||||
|
|
Loading…
Reference in a new issue