From bfe6f299d08be97e0dca1ab85fb1dc5d1db6a77e Mon Sep 17 00:00:00 2001 From: Nick Craig-Wood Date: Mon, 19 Sep 2016 17:13:41 +0100 Subject: [PATCH] Revise list of OSes which can redirect stderr - fixes #698 --- cmd/redirect_stderr_unix.go | 2 +- cross-compile | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/cmd/redirect_stderr_unix.go b/cmd/redirect_stderr_unix.go index bc1177ad3..86e83646c 100644 --- a/cmd/redirect_stderr_unix.go +++ b/cmd/redirect_stderr_unix.go @@ -1,6 +1,6 @@ // Log the panic under unix to the log file -// +build darwin dragonfly freebsd linux nacl netbsd openbsd +// +build !windows,!solaris,!plan9 package cmd diff --git a/cross-compile b/cross-compile index 9e9fdff3f..8a02d5f45 100755 --- a/cross-compile +++ b/cross-compile @@ -17,7 +17,8 @@ rm -rf build export CGO_ENABLED=0 # Arch pairs we build for -# gox -osarch-list for definitive list +# gox -osarch-list - for definitive list +# go tool dist list - or this OSARCH="\ windows/386