From: Shenghou Ma Date: Wed, 16 Apr 2014 03:54:04 +0000 (-0400) Subject: run.bash: fix build on netbsd builders. X-Git-Tag: go1.3beta1~61 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=560471fbabc3a493e0271a27eb1b16dee6546c7b;p=gostls13.git run.bash: fix build on netbsd builders. LGTM=bradfitz R=golang-codereviews, bradfitz, dave CC=golang-codereviews https://golang.org/cl/88000044 --- diff --git a/src/run.bash b/src/run.bash index f3c4c6fb7b..f0fb928b2c 100755 --- a/src/run.bash +++ b/src/run.bash @@ -132,7 +132,7 @@ dragonfly-386 | dragonfly-amd64 | freebsd-386 | freebsd-amd64 | linux-386 | linu go test -ldflags '-linkmode=auto' ../testtls || exit 1 go test -ldflags '-linkmode=external' ../testtls || exit 1 - case "$GOHOSTOS-GOARCH" in + case "$GOHOSTOS-$GOARCH" in netbsd-386 | netbsd-amd64) ;; # no static linking *) go test -ldflags '-linkmode=external -extldflags "-static -pthread"' ../testtls || exit 1