X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-elf%2Findirect.exp;h=1acb556dba0529a8950c956d5cf3eb34d5ef9ed5;hb=44ed80923ab89e141120defa8c1209b69869a7ac;hp=b1a2c6c86a99590547d1f1118261c0d8120ff324;hpb=596179f77c803d3fc5586465f4ece6503055d035;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/testsuite/ld-elf/indirect.exp b/ld/testsuite/ld-elf/indirect.exp index b1a2c6c86a..1acb556dba 100644 --- a/ld/testsuite/ld-elf/indirect.exp +++ b/ld/testsuite/ld-elf/indirect.exp @@ -33,7 +33,7 @@ if ![check_shared_lib_support] { } # Check if compiler works -if { [which $CC] == 0 } { +if { ![check_compiler_available] } { return }