aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-x86-64/tls.exp
diff options
context:
space:
mode:
Diffstat (limited to 'ld/testsuite/ld-x86-64/tls.exp')
-rw-r--r--ld/testsuite/ld-x86-64/tls.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/testsuite/ld-x86-64/tls.exp b/ld/testsuite/ld-x86-64/tls.exp
index b3b8a83..0b9f5c5 100644
--- a/ld/testsuite/ld-x86-64/tls.exp
+++ b/ld/testsuite/ld-x86-64/tls.exp
@@ -32,7 +32,7 @@ if ![istarget "x86_64-*-linux*"] {
}
# Check to see if the C compiler works
-if { [which $CC] == 0 } {
+if { ![check_compiler_available] } {
return
}