From: Alex Brainman Date: Mon, 20 Sep 2010 05:19:13 +0000 (+1000) Subject: Make.inc: make GOOS detection work on windows X-Git-Tag: weekly.2010-09-22~34 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=8a313e201acbc590e2a6e3548c26a445b7782bc5;p=gostls13.git Make.inc: make GOOS detection work on windows R=rsc, Joe Poirier, r CC=golang-dev https://golang.org/cl/2248041 --- diff --git a/src/Make.inc b/src/Make.inc index aa20e4c707..3544f26ca4 100644 --- a/src/Make.inc +++ b/src/Make.inc @@ -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)