From 21a3c53c541ee6366db371e333cdb5376f507c65 Mon Sep 17 00:00:00 2001 From: Russ Cox Date: Fri, 11 Nov 2016 15:45:09 -0500 Subject: [PATCH] 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> --- src/make.rc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 } -- 2.50.0