Use better test for usable compiler in ld testsuite.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-shared / shared.exp
index 0e3d75e9d160d3fcd427faf5a8943a4464042fd3..ed17b93690869721e35d44d07014c7188d02a5c6 100644 (file)
@@ -26,7 +26,7 @@
 # bootstrap test.
 
 # Check to see if the C compiler works
-if { [which $CC] == 0 } {
+if { ![check_compiler_available] } {
     return
 }
 
This page took 0.028985 seconds and 4 git commands to generate.