From c9c2aa24611ec996f45a495f24d690688f3ffed6 Mon Sep 17 00:00:00 2001 From: Anthony Green Date: Wed, 15 Mar 2017 09:58:39 -0400 Subject: [PATCH] Revert previous two changes. clang/MacOS problem can only be solved within dejagnu. --- testsuite/lib/libffi.exp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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] } {