diff options
author | Russ Cox <rsc@golang.org> | 2012-02-12 23:14:37 -0500 |
---|---|---|
committer | Russ Cox <rsc@golang.org> | 2012-02-12 23:14:37 -0500 |
commit | b5d81e5ed57287a97b0f81b1928f8356e8660afc (patch) | |
tree | 506f5a9d74a7267a60d175eb259243c396157035 /src/make.bat | |
parent | b1d9ae9406e0217731665da622b7a29fadc3efbd (diff) | |
download | go-b5d81e5ed57287a97b0f81b1928f8356e8660afc.tar.gz go-b5d81e5ed57287a97b0f81b1928f8356e8660afc.zip |
build: reject make.bash on Windows
Also, echo cmd/dist during bootstrap build
Makes that phase look like all the others.
Fixes #2908.
R=golang-dev, alex.brainman, bradfitz
CC=golang-dev
https://golang.org/cl/5655065
Diffstat (limited to 'src/make.bat')
-rw-r--r-- | src/make.bat | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/make.bat b/src/make.bat index 3a456513fa..010e418c01 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 |