diff options
author | Shenghou Ma <minux.ma@gmail.com> | 2014-04-15 23:54:04 -0400 |
---|---|---|
committer | Shenghou Ma <minux.ma@gmail.com> | 2014-04-15 23:54:04 -0400 |
commit | d67bbfd97e2cd599122f44168997df415ce063b4 (patch) | |
tree | 6cba2f636fba7b83a632c5ae93dd68cc66061531 /src/run.bash | |
parent | fce09004e5767c4d3c6f56df7564509477a5aaab (diff) | |
download | go-d67bbfd97e2cd599122f44168997df415ce063b4.tar.gz |
run.bash: fix build on netbsd builders.
LGTM=bradfitz
R=golang-codereviews, bradfitz, dave
CC=golang-codereviews
https://codereview.appspot.com/88000044
Diffstat (limited to 'src/run.bash')
-rwxr-xr-x | src/run.bash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/run.bash b/src/run.bash index f3c4c6fb7..f0fb928b2 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 |