Commit c9c2aa24611ec996f45a495f24d690688f3ffed6

Anthony Green 2017-03-15T09:58:39

Revert previous two changes. clang/MacOS problem can only be solved within dejagnu.

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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] } {