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 | 89cc4d78146b6969e94ee15c929a7db0a635f20d (patch) | |
tree | 6ce7b0fbb91ae763db61d5b1878eadbc3bc416ef | |
parent | 6606995c9135c36c7c49af030673baee506790b6 (diff) | |
download | go-89cc4d78146b6969e94ee15c929a7db0a635f20d.tar.gz go-89cc4d78146b6969e94ee15c929a7db0a635f20d.zip |
runtime/cgo: fix cross-compiling windows packages
R=golang-dev, rsc
CC=golang-dev
https://golang.org/cl/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 a2ce902d68..768fe80ace 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=\ |