1
0
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:
Evan Shaw 2011-03-15 14:42:18 -04:00 committed by Russ Cox
parent aa55c05213
commit c3254bbef9
2 changed files with 2 additions and 2 deletions

View File

@ -82,7 +82,7 @@ LIB9OFILES=\
time.$O\
tokenize.$O\
ifeq ($(GOOS),windows)
ifeq ($(GOHOSTOS),windows)
LIB9OFILES+=\
win32.$O\

View File

@ -49,7 +49,7 @@ OFILES=\
6obj.$O\
8obj.$O\
ifneq ($(GOOS),windows)
ifneq ($(GOHOSTOS),windows)
OFILES+=\
$(shell uname | tr A-Z a-z).$O\