diff --git a/testsuite/lib/libffi.exp b/testsuite/lib/libffi.exp index 1dcbecb3..0c8ff23e 100644 --- a/testsuite/lib/libffi.exp +++ b/testsuite/lib/libffi.exp @@ -220,7 +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"] } + if { [string match $compiler_vendor "gnu"] } { lappend options "c++" } }