diff --git a/testsuite/lib/libffi.exp b/testsuite/lib/libffi.exp index 0c8ff23..37e4cf6 100644 --- a/testsuite/lib/libffi.exp +++ b/testsuite/lib/libffi.exp @@ -220,9 +220,7 @@ proc libffi_target_compile { source dest type options } { # this may be required for g++, but just confused clang. if { [string match "*.cc" $source] } { - if { [string match $compiler_vendor "gnu"] } { - lappend options "c++" - } + lappend options "c++" } if { [string match "arc*-*-linux*" $target_triplet] } {