mirror of
https://github.com/golang/go
synced 2024-11-24 22:00:09 -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:
parent
950ee18366
commit
8a313e201a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user