aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2016-11-11 15:45:09 -0500
committerRuss Cox <rsc@golang.org>2016-11-22 01:32:28 +0000
commit21a3c53c541ee6366db371e333cdb5376f507c65 (patch)
tree94c46a0e77577017e39287513a14f06ffd059da0
parent9073af247d602dff4633710adf90c8b3c1869c45 (diff)
downloadgo-21a3c53c541ee6366db371e333cdb5376f507c65.tar.gz
go-21a3c53c541ee6366db371e333cdb5376f507c65.zip
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 <rsc@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Quentin Smith <quentin@golang.org> Reviewed-by: David du Colombier <0intro@gmail.com>
-rwxr-xr-xsrc/make.rc2
1 files changed, 1 insertions, 1 deletions
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
}