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
1 changed files with 1 additions and 1 deletions

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)