]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - ld/testsuite/ld-elf/indirect.exp
Use better test for usable compiler in ld testsuite.
[thirdparty/binutils-gdb.git] / ld / testsuite / ld-elf / indirect.exp
index b1a2c6c86a99590547d1f1118261c0d8120ff324..1acb556dba0529a8950c956d5cf3eb34d5ef9ed5 100644 (file)
@@ -33,7 +33,7 @@ if ![check_shared_lib_support] {
 }
 
 # Check if compiler works
-if { [which $CC] == 0 } {
+if { ![check_compiler_available] } {
     return
 }