aboutsummaryrefslogtreecommitdiff
path: root/libffi
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2015-01-20 13:26:04 -0800
committerRichard Henderson <rth@gcc.gnu.org>2015-01-20 13:26:04 -0800
commit039ad4c2f435f8e345e123af8a324c50d1a85c86 (patch)
tree6bdab5b7a6660e21028843c9cce5fc6e34ed5c72 /libffi
parenta5504e99e147b0915009cb9db90202357dc60849 (diff)
downloadgcc-039ad4c2f435f8e345e123af8a324c50d1a85c86.zip
gcc-039ad4c2f435f8e345e123af8a324c50d1a85c86.tar.gz
gcc-039ad4c2f435f8e345e123af8a324c50d1a85c86.tar.bz2
re PR libffi/64581 (libffi/testsuite/libffi.special/special.exp doesn't use newly built GCC)
PR libffi/64581 * testsuite/lib/libffi.exp (libffi_target_compile): Don't switch to C++ mode when compiling C++ source code. From-SVN: r219915
Diffstat (limited to 'libffi')
-rw-r--r--libffi/ChangeLog6
-rw-r--r--libffi/testsuite/lib/libffi.exp4
2 files changed, 6 insertions, 4 deletions
diff --git a/libffi/ChangeLog b/libffi/ChangeLog
index dd8d516..c02ee22 100644
--- a/libffi/ChangeLog
+++ b/libffi/ChangeLog
@@ -1,5 +1,11 @@
2015-01-19 Richard Henderson <rth@redhat.com>
+ PR libffi/64581
+ * testsuite/lib/libffi.exp (libffi_target_compile): Don't switch
+ to C++ mode when compiling C++ source code.
+
+2015-01-19 Richard Henderson <rth@redhat.com>
+
* Merge to upstream commit 3ac1610aa33c887ea9b14935208943925714a33e.
2015-01-19 Richard Henderson <rth@redhat.com>
diff --git a/libffi/testsuite/lib/libffi.exp b/libffi/testsuite/lib/libffi.exp
index 86ee766..6f865fd 100644
--- a/libffi/testsuite/lib/libffi.exp
+++ b/libffi/testsuite/lib/libffi.exp
@@ -219,10 +219,6 @@ proc libffi_target_compile { source dest type options } {
lappend options "libs= -lpthread"
}
- if { [string match "*.cc" $source] } {
- lappend options "c++"
- }
-
verbose "options: $options"
return [target_compile $source $dest $type $options]
}