Use better test for usable compiler in ld testsuite.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-sh / sh.exp
index 09263bb4533b1423421c4ec462f60e4338070c0b..1fca64d861225e517fc121c8372d29526a0bb7bd 100644 (file)
@@ -129,7 +129,7 @@ set testlink "SH relaxing"
 set testjsr "SH confirm relaxing"
 set testrun "SH relaxing execution"
 
-if { [which $CC] == 0 } {
+if { ![check_compiler_available] } {
     untested $testlink
     untested $testjsr
     untested $testrun
This page took 0.035747 seconds and 4 git commands to generate.