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