From 89cc4d78146b6969e94ee15c929a7db0a635f20d Mon Sep 17 00:00:00 2001 From: Alex Brainman Date: Sat, 29 Jan 2011 22:57:19 +1100 Subject: [PATCH] runtime/cgo: fix cross-compiling windows packages R=golang-dev, rsc CC=golang-dev https://golang.org/cl/4073043 --- src/pkg/runtime/cgo/Makefile | 4 ++++ 1 file changed, 4 insertions(+) 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=\ -- 2.50.0