From 969b71d906f4ee6b438bc051dc7fff98f4fa503c Mon Sep 17 00:00:00 2001
From: Russ Cox <rsc@golang.org>
Date: Tue, 13 Dec 2011 14:20:38 -0500
Subject: [PATCH] build: disable cgo on Windows/amd64

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 | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/Make.inc b/src/Make.inc
index 7b4ccd0aee..9dc7b8c1c6 100644
--- a/src/Make.inc
+++ b/src/Make.inc
@@ -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.
-- 
2.30.9