Use better test for usable compiler in ld testsuite.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-i386 / tls.exp
index 79c6d9a45c3418d08dfe0fd3c52c0a0db1669b41..1587de67045d7347a82b6f48ba6e4c54b4b8f56e 100644 (file)
@@ -32,7 +32,7 @@ if ![istarget "i?86-*-linux*"] {
 }
 
 # Check to see if the C compiler works
-if { [which $CC] == 0 } {
+if { ![check_compiler_available] } {
     return
 }
 
This page took 0.024922 seconds and 4 git commands to generate.