mirror of
https://github.com/golang/go
synced 2024-11-21 23:54:40 -07:00
lib9, libmach: Change GOOS references to GOHOSTOS
This makes it possible to build Windows binaries on non-Windows OSes. R=golang-dev, rsc1, rsc CC=golang-dev https://golang.org/cl/4271046
This commit is contained in:
parent
aa55c05213
commit
c3254bbef9
@ -82,7 +82,7 @@ LIB9OFILES=\
|
||||
time.$O\
|
||||
tokenize.$O\
|
||||
|
||||
ifeq ($(GOOS),windows)
|
||||
ifeq ($(GOHOSTOS),windows)
|
||||
LIB9OFILES+=\
|
||||
win32.$O\
|
||||
|
||||
|
@ -49,7 +49,7 @@ OFILES=\
|
||||
6obj.$O\
|
||||
8obj.$O\
|
||||
|
||||
ifneq ($(GOOS),windows)
|
||||
ifneq ($(GOHOSTOS),windows)
|
||||
OFILES+=\
|
||||
$(shell uname | tr A-Z a-z).$O\
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user