mirror of
https://github.com/golang/go
synced 2024-11-24 21:20:05 -07:00
build: fix darwin/386 build
R=rsc CC=golang-dev https://golang.org/cl/2443041
This commit is contained in:
parent
054be1b6c3
commit
f75129894c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user