1
0
mirror of https://github.com/golang/go synced 2024-11-21 15:44:44 -07:00

Make.inc: make GOOS detection work on windows

R=rsc, Joe Poirier, r
CC=golang-dev
https://golang.org/cl/2248041
This commit is contained in:
Alex Brainman 2010-09-20 15:19:13 +10:00
parent 950ee18366
commit 8a313e201a

View File

@ -22,7 +22,7 @@ endif
GOROOT_FINAL?=$(GOROOT)
ifeq ($(GOOS),)
GOOS:=${shell uname | tr A-Z a-z}
GOOS:=${shell uname | tr A-Z a-z | sed 's/mingw/windows/; s/windows.*/windows/'}
endif
ifeq ($(GOOS),darwin)