summaryrefslogtreecommitdiff
path: root/src/make.bat
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2012-02-12 23:14:37 -0500
committerRuss Cox <rsc@golang.org>2012-02-12 23:14:37 -0500
commitc2de3b4738c091f307cc1a812642a1d4f3558279 (patch)
tree2a56bc9b71a9b153dcc2e1fe625d1c89df80fcc6 /src/make.bat
parent49e92776c048c64bc42ed47d6397fe96edd13f09 (diff)
downloadgo-c2de3b4738c091f307cc1a812642a1d4f3558279.tar.gz
build: reject make.bash on Windows
Also, echo cmd/dist during bootstrap build Makes that phase look like all the others. Fixes issue 2908. R=golang-dev, alex.brainman, bradfitz CC=golang-dev http://codereview.appspot.com/5655065
Diffstat (limited to 'src/make.bat')
-rw-r--r--src/make.bat3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/make.bat b/src/make.bat
index 3a456513f..010e418c0 100644
--- a/src/make.bat
+++ b/src/make.bat
@@ -1,7 +1,7 @@
:: Copyright 2012 The Go Authors. All rights reserved.
:: Use of this source code is governed by a BSD-style
:: license that can be found in the LICENSE file.
-::@echo off
+@echo off
set GOBUILDFAIL=0
@@ -22,6 +22,7 @@ if "x%GOROOT_FINAL%"=="x" set GOROOT_FINAL=%GOROOT%
set DEFGOROOT=-DGOROOT_FINAL="\"%GOROOT_FINAL:\=\\%\""
echo # Building C bootstrap tool.
+echo cmd/dist
if not exist ..\bin\tool mkdir ..\bin\tool
:: Windows has no glob expansion, so spell out cmd/dist/*.c.
gcc -O2 -Wall -Werror -o ../bin/tool/dist.exe -Icmd/dist %DEFGOROOT% cmd/dist/buf.c cmd/dist/build.c cmd/dist/buildgc.c cmd/dist/buildruntime.c cmd/dist/goc2c.c cmd/dist/main.c cmd/dist/windows.c