From: Russ Cox Date: Fri, 11 Nov 2016 20:45:09 +0000 (-0500) Subject: build: fix cross-compile on Plan 9 X-Git-Tag: go1.8beta1~84 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=21a3c53c541ee6366db371e333cdb5376f507c65;p=gostls13.git build: fix cross-compile on Plan 9 In Plan 9's shell, GOBIN= \ foo bar is the same as GOBIN=foo bar Write what was meant, which is GOBIN=() \ foo bar Fixes #17737. Change-Id: Ie5a1b51a7cec950b5e78bbbe99cbc3cfe102f980 Reviewed-on: https://go-review.googlesource.com/33144 Run-TryBot: Russ Cox TryBot-Result: Gobot Gobot Reviewed-by: Quentin Smith Reviewed-by: David du Colombier <0intro@gmail.com> --- diff --git a/src/make.rc b/src/make.rc index 243f83cc0f..ba3554cd76 100755 --- a/src/make.rc +++ b/src/make.rc @@ -80,7 +80,7 @@ if(~ $sysname vx32) if(! ~ $GOHOSTARCH $GOARCH || ! ~ $GOHOSTOS $GOOS){ echo '##### Building packages and commands for host,' $GOHOSTOS/$GOHOSTARCH^. - GOOS=$GOHOSTOS GOARCH=$GOHOSTARCH GOBIN= \ + GOOS=$GOHOSTOS GOARCH=$GOHOSTARCH GOBIN=() \ $GOTOOLDIR/go_bootstrap install -gcflags $"GO_GCFLAGS -ldflags $"GO_LDFLAGS -v $pflag std cmd echo }