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 | 560471fbabc3a493e0271a27eb1b16dee6546c7b (patch) | |
tree | 4b3cbc2db0fed2941f6421822c70fb77c766b3cf /src/run.bash | |
parent | cabdb85333bc0af0ce32ce45e58385e61f84dc43 (diff) | |
download | go-560471fbabc3a493e0271a27eb1b16dee6546c7b.tar.gz go-560471fbabc3a493e0271a27eb1b16dee6546c7b.zip |
run.bash: fix build on netbsd builders.
LGTM=bradfitz
R=golang-codereviews, bradfitz, dave
CC=golang-codereviews
https://golang.org/cl/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 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 |