]> Cypherpunks repositories - gostls13.git/commitdiff
build: fix darwin/386 build
authorAndrew Gerrand <adg@golang.org>
Tue, 12 Oct 2010 00:49:05 +0000 (11:49 +1100)
committerAndrew Gerrand <adg@golang.org>
Tue, 12 Oct 2010 00:49:05 +0000 (11:49 +1100)
R=rsc
CC=golang-dev
https://golang.org/cl/2443041

src/Make.inc

index 254140e03bde5a045df08592fcabc4a083d804cd..3334c2cf15922c90d10657296e943a5e089ea20a 100644 (file)
@@ -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)