X-Git-Url: http://drtracing.org/?a=blobdiff_plain;ds=sidebyside;f=ld%2Ftestsuite%2Fld-shared%2Fshared.exp;h=ed17b93690869721e35d44d07014c7188d02a5c6;hb=44ed80923ab89e141120defa8c1209b69869a7ac;hp=0e3d75e9d160d3fcd427faf5a8943a4464042fd3;hpb=596179f77c803d3fc5586465f4ece6503055d035;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/testsuite/ld-shared/shared.exp b/ld/testsuite/ld-shared/shared.exp index 0e3d75e9d1..ed17b93690 100644 --- a/ld/testsuite/ld-shared/shared.exp +++ b/ld/testsuite/ld-shared/shared.exp @@ -26,7 +26,7 @@ # bootstrap test. # Check to see if the C compiler works -if { [which $CC] == 0 } { +if { ![check_compiler_available] } { return }