]> Cypherpunks.ru repositories - gostls13.git/commitdiff
make.bat: Fix for old files
authorChristopher Redden <christopher.redden@gmail.com>
Fri, 16 Mar 2012 03:30:43 +0000 (14:30 +1100)
committerAlex Brainman <alex.brainman@gmail.com>
Fri, 16 Mar 2012 03:30:43 +0000 (14:30 +1100)
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

src/make.bat

index 9b0ab6920a453ef42140a6a8627771ccbeda9b37..fd4ce890eb3bffd70ddcb52de6ad229b72c72682 100644 (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