Use better test for usable compiler in ld testsuite.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-elf / tls.exp
index 1b26f8b24e18a28a90effc32f551cc09df2eaf55..4daddc7509312da5edeccbb67fa5ac79d7bcbb97 100644 (file)
@@ -29,7 +29,7 @@ if { ![istarget *-*-linux*]
 }
 
 # Check to see if the C compiler works.
-if { [which $CC] == 0 } {
+if { ![check_compiler_available] } {
     return
 }
 
This page took 0.02802 seconds and 4 git commands to generate.