From: Andrew Gerrand Date: Tue, 12 Oct 2010 00:49:05 +0000 (+1100) Subject: build: fix darwin/386 build X-Git-Tag: weekly.2010-10-13~28 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=f75129894c1a3ae03716ecedfa757d71a8cab4fe;p=gostls13.git build: fix darwin/386 build R=rsc CC=golang-dev https://golang.org/cl/2443041 --- diff --git a/src/Make.inc b/src/Make.inc index 254140e03b..3334c2cf15 100644 --- a/src/Make.inc +++ b/src/Make.inc @@ -54,6 +54,11 @@ ifeq ($(GOARCH),) GOARCH:=$(GOHOSTARCH) endif +# darwin requires GOHOSTARCH match GOARCH +ifeq ($(GOOS),darwin) +GOHOSTARCH:=$(GOARCH) +endif + ifeq ($(GOARCH),386) O:=8 else ifeq ($(GOARCH),amd64)