Commit 8a313e20 authored by Alex Brainman's avatar Alex Brainman

Make.inc: make GOOS detection work on windows

R=rsc, Joe Poirier, r
CC=golang-dev
https://golang.org/cl/2248041
parent 950ee183
......@@ -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)
......
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