From 560471fbabc3a493e0271a27eb1b16dee6546c7b Mon Sep 17 00:00:00 2001 From: Shenghou Ma Date: Tue, 15 Apr 2014 23:54:04 -0400 Subject: [PATCH] run.bash: fix build on netbsd builders. LGTM=bradfitz R=golang-codereviews, bradfitz, dave CC=golang-codereviews https://golang.org/cl/88000044 --- src/run.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.50.0