We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 342e6bb + 7268f76 commit e2a9eedCopy full SHA for e2a9eed
hack/make/test-unit
@@ -25,7 +25,8 @@ bundle_test_unit() {
25
go test $COVER $GCCGOFLAGS -ldflags "$LDFLAGS" "${BUILDFLAGS[@]}" $TESTFLAGS $pkg_list
26
}
27
28
-if [[ "$(go version)" =~ "gccgo" ]]; then
+
29
+if [[ "$(go version)" == *"gccgo"* ]]; then
30
GCCGOFLAGS=-gccgoflags="-lpthread"
31
else
32
COVER=-cover
0 commit comments