From 8009542f559cee2a2c17af1bdafb46666778feac Mon Sep 17 00:00:00 2001 From: Christopher Redden Date: Fri, 16 Mar 2012 14:30:43 +1100 Subject: [PATCH] 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 --- src/make.bat | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/make.bat b/src/make.bat index 9b0ab6920a453..fd4ce890eb3bf 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