Revert previous two changes. clang/MacOS problem can only be solved within dejagnu.
authorAnthony Green <green@moxielogic.com>
Wed, 15 Mar 2017 13:58:39 +0000 (09:58 -0400)
committerAnthony Green <green@moxielogic.com>
Wed, 15 Mar 2017 13:58:39 +0000 (09:58 -0400)
testsuite/lib/libffi.exp

index 0c8ff23..37e4cf6 100644 (file)
@@ -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] } {