diff options
author | Alex Brainman <alex.brainman@gmail.com> | 2011-01-29 22:57:19 +1100 |
---|---|---|
committer | Alex Brainman <alex.brainman@gmail.com> | 2011-01-29 22:57:19 +1100 |
commit | f35edeb792730e3baa2579f48dfeb075df2d79bf (patch) | |
tree | 6f3c0a096c441aa423aeb3d1ebf2fd225fa332d5 | |
parent | 644836cc12273967ffc8618fcb8b4ce1d39a5560 (diff) | |
download | go-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/Makefile | 4 |
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=\ |