mirror of
https://github.com/golang/go
synced 2024-11-20 07:34:40 -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)
|
GOARCH:=$(GOHOSTARCH)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
# darwin requires GOHOSTARCH match GOARCH
|
||||||
|
ifeq ($(GOOS),darwin)
|
||||||
|
GOHOSTARCH:=$(GOARCH)
|
||||||
|
endif
|
||||||
|
|
||||||
ifeq ($(GOARCH),386)
|
ifeq ($(GOARCH),386)
|
||||||
O:=8
|
O:=8
|
||||||
else ifeq ($(GOARCH),amd64)
|
else ifeq ($(GOARCH),amd64)
|
||||||
|
Loading…
Reference in New Issue
Block a user