From fc16833b6e4394676ff41a1fbb7183e96a809e82 Mon Sep 17 00:00:00 2001 From: Christopher Redden Date: Fri, 16 Mar 2012 14:30:43 +1100 Subject: 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 --- src/make.bat | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/make.bat') 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 -- cgit v1.2.1