1
0
mirror of https://github.com/golang/go synced 2024-11-20 10:34:42 -07:00

make.bat: Fix for old files

Same fix as applied here: https://golang.org/cl/5761044

Fixes #3222.

R=golang-dev, alex.brainman, rsc
CC=golang-dev
https://golang.org/cl/5838043
This commit is contained in:
Christopher Redden 2012-03-16 14:30:43 +11:00 committed by Alex Brainman
parent e5cc09a75d
commit 8009542f55

View File

@ -28,6 +28,9 @@ cd src
if "x%GOROOT_FINAL%"=="x" set GOROOT_FINAL=%GOROOT%
set DEFGOROOT=-DGOROOT_FINAL="\"%GOROOT_FINAL:\=\\%\""
:: Clean old generated file that will cause problems in the build.
del /F ".\pkg\runtime\runtime_defs.go"
echo # Building C bootstrap tool.
echo cmd/dist
if not exist ..\bin\tool mkdir ..\bin\tool