Commit f7512989 authored by Andrew Gerrand's avatar Andrew Gerrand

build: fix darwin/386 build

R=rsc
CC=golang-dev
https://golang.org/cl/2443041
parent 054be1b6
......@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment