1
0
mirror of https://github.com/golang/go synced 2024-11-19 01:54:39 -07:00

run.bash: fix build on netbsd builders.

LGTM=bradfitz
R=golang-codereviews, bradfitz, dave
CC=golang-codereviews
https://golang.org/cl/88000044
This commit is contained in:
Shenghou Ma 2014-04-15 23:54:04 -04:00
parent cabdb85333
commit 560471fbab

View File

@ -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