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