]> Cypherpunks repositories - gostls13.git/commitdiff
build: disable cgo on Windows/amd64
authorRuss Cox <rsc@golang.org>
Tue, 13 Dec 2011 19:20:38 +0000 (14:20 -0500)
committerRuss Cox <rsc@golang.org>
Tue, 13 Dec 2011 19:20:38 +0000 (14:20 -0500)
Apparently it is broken.  Disable so that dashboard
will let us see other breakages on Windows.

R=golang-dev, bradfitz
CC=golang-dev
https://golang.org/cl/5477081

src/Make.inc

index 7b4ccd0aeeb90d4edc90d34c601cfb9ddf8a9f0d..9dc7b8c1c6353554b02cedb879e029e5e64bf280 100644 (file)
@@ -142,6 +142,9 @@ endif
 ifeq ($(GOOS),netbsd)  # ... and not on NetBSD
 CGO_ENABLED:=0
 endif
+ifeq ($(GOOS)$(GOARCH),windowsamd64)  # ... and not on Windows/amd64
+CGO_ENABLED:=0
+endif
 endif
 
 # Make environment more standard.