summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Brainman <alex.brainman@gmail.com>2011-01-29 22:57:19 +1100
committerAlex Brainman <alex.brainman@gmail.com>2011-01-29 22:57:19 +1100
commitf35edeb792730e3baa2579f48dfeb075df2d79bf (patch)
tree6f3c0a096c441aa423aeb3d1ebf2fd225fa332d5
parent644836cc12273967ffc8618fcb8b4ce1d39a5560 (diff)
downloadgo-f35edeb792730e3baa2579f48dfeb075df2d79bf.tar.gz
runtime/cgo: fix cross-compiling windows packages
R=golang-dev, rsc CC=golang-dev http://codereview.appspot.com/4073043
-rw-r--r--src/pkg/runtime/cgo/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/pkg/runtime/cgo/Makefile b/src/pkg/runtime/cgo/Makefile
index a2ce902d6..768fe80ac 100644
--- a/src/pkg/runtime/cgo/Makefile
+++ b/src/pkg/runtime/cgo/Makefile
@@ -10,6 +10,10 @@ ifeq ($(GOARCH),arm)
ENABLED:=0
endif
+ifeq ($(DISABLE_CGO),1)
+ENABLED:=0
+endif
+
TARG=runtime/cgo
GOFILES=\