summaryrefslogtreecommitdiff
path: root/src/make.bat
diff options
context:
space:
mode:
authorChristopher Redden <christopher.redden@gmail.com>2012-03-16 14:30:43 +1100
committerChristopher Redden <christopher.redden@gmail.com>2012-03-16 14:30:43 +1100
commitfc16833b6e4394676ff41a1fbb7183e96a809e82 (patch)
treeaaadc2653c5c6f35b4fa816c9b5664f5866c2761 /src/make.bat
parent0f27425787664f4813d72bcc986d88933e0dfae0 (diff)
downloadgo-fc16833b6e4394676ff41a1fbb7183e96a809e82.tar.gz
make.bat: Fix for old files
Same fix as applied here: http://codereview.appspot.com/5761044 Fixes issue 3222. R=golang-dev, alex.brainman, rsc CC=golang-dev http://codereview.appspot.com/5838043 Committer: Alex Brainman <alex.brainman@gmail.com>
Diffstat (limited to 'src/make.bat')
-rw-r--r--src/make.bat3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/make.bat b/src/make.bat
index 9b0ab6920..fd4ce890e 100644
--- a/src/make.bat
+++ b/src/make.bat
@@ -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