Use better test for usable compiler in ld testsuite.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / tls.exp
index b3b8a8316590802620cd18ffe6c0ff37489777c3..0b9f5c57164d303264a04280dcddc562c6ff2e80 100644 (file)
@@ -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
 }
 
This page took 0.024792 seconds and 4 git commands to generate.