build: disable cgo on windows

Update #4955.

R=golang-dev
CC=golang-dev
https://golang.org/cl/7435049
This commit is contained in:
Russ Cox 2013-03-01 11:55:00 -05:00
parent 418dd410db
commit 2202663a93
1 changed files with 2 additions and 0 deletions

View File

@ -72,6 +72,8 @@ if errorlevel 1 goto fail
echo.
:: cgo tests
:: issue 4955 - cgo is broken
goto nocgo
if x%CGO_ENABLED% == x0 goto nocgo
echo # ..\misc\cgo\life
go run %GOROOT%\test\run.go - ..\misc\cgo\life