diff options
Diffstat (limited to 'ld/testsuite/ld-plugin/lto.exp')
-rw-r--r-- | ld/testsuite/ld-plugin/lto.exp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ld/testsuite/ld-plugin/lto.exp b/ld/testsuite/ld-plugin/lto.exp index b13c540..b525acf 100644 --- a/ld/testsuite/ld-plugin/lto.exp +++ b/ld/testsuite/ld-plugin/lto.exp @@ -18,8 +18,8 @@ # Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, # MA 02110-1301, USA. -# Check to see if the C compiler works -if { [which $CC] == 0 } { +# Check to see if the C and C++ compilers work +if { [which $CC] == 0 || [which $CXX] == 0 } { return } |