Use better test for usable compiler in ld testsuite.
[deliverable/binutils-gdb.git] / ld / testsuite / ld-unique / unique.exp
index 2cda1335a36d20934ee55bd11cb912265d7f5f4c..eb2110834488fbdb49fdb59caa137e7117cf0382 100644 (file)
@@ -44,7 +44,7 @@ foreach t $test_list {
 
 # We need a working compiler.  (Strictly speaking this is
 # not true, we could use target specific assembler files).
-if { [which $CC] == 0 } {
+if { ![check_compiler_available] } {
     verbose "UNIQUE compiled tests not run - no compiler available"
     return
 }
This page took 0.023091 seconds and 4 git commands to generate.