]> Cypherpunks repositories - gostls13.git/commitdiff
run.bash: fix build on netbsd builders.
authorShenghou Ma <minux.ma@gmail.com>
Wed, 16 Apr 2014 03:54:04 +0000 (23:54 -0400)
committerShenghou Ma <minux.ma@gmail.com>
Wed, 16 Apr 2014 03:54:04 +0000 (23:54 -0400)
LGTM=bradfitz
R=golang-codereviews, bradfitz, dave
CC=golang-codereviews
https://golang.org/cl/88000044

src/run.bash

index f3c4c6fb7b7b2c0c2a79a23b1c78a1d37e95e47d..f0fb928b2c6391d6337c86fce4c0c6ba46eaeda9 100755 (executable)
@@ -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