Commit c3254bbe authored by Evan Shaw's avatar Evan Shaw Committed by Russ Cox

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
parent aa55c052
...@@ -82,7 +82,7 @@ LIB9OFILES=\ ...@@ -82,7 +82,7 @@ LIB9OFILES=\
time.$O\ time.$O\
tokenize.$O\ tokenize.$O\
ifeq ($(GOOS),windows) ifeq ($(GOHOSTOS),windows)
LIB9OFILES+=\ LIB9OFILES+=\
win32.$O\ win32.$O\
......
...@@ -49,7 +49,7 @@ OFILES=\ ...@@ -49,7 +49,7 @@ OFILES=\
6obj.$O\ 6obj.$O\
8obj.$O\ 8obj.$O\
ifneq ($(GOOS),windows) ifneq ($(GOHOSTOS),windows)
OFILES+=\ OFILES+=\
$(shell uname | tr A-Z a-z).$O\ $(shell uname | tr A-Z a-z).$O\
......
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