Use better test for usable compiler in ld testsuite.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-mn10300 / mn10300.exp
index d7c6c45fc6f72ad94646ec87b5b8d76c86e97c79..b78ef55965d2d7f842bcf5075b91a7967069c5b8 100644 (file)
@@ -134,7 +134,7 @@ proc i126256-test { } {
     set tmpdir tmpdir
     set testname "Seg fault whilst linking one shared library into another when relaxation is enabled."
 
     set tmpdir tmpdir
     set testname "Seg fault whilst linking one shared library into another when relaxation is enabled."
 
-    if {![is_remote host] && [which $CC] == 0} then {
+    if { ![check_compiler_available] } then {
        return
     }
 
        return
     }
 
This page took 0.023154 seconds and 4 git commands to generate.