Use better test for usable compiler in ld testsuite.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-x86-64 / mpx.exp
index 64740845ca8eae0424417c22f5687cdfd0cfbd7f..4e63039cc14d033aa582f67ed86b443dd2e0ca93 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.026281 seconds and 4 git commands to generate.