From: Richard Henderson Date: Tue, 20 Jan 2015 21:26:04 +0000 (-0800) Subject: re PR libffi/64581 (libffi/testsuite/libffi.special/special.exp doesn't use newly... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=039ad4c2f435f8e345e123af8a324c50d1a85c86;p=gcc.git 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 --- diff --git a/libffi/ChangeLog b/libffi/ChangeLog index dd8d516a42c..c02ee226574 100644 --- a/libffi/ChangeLog +++ b/libffi/ChangeLog @@ -1,3 +1,9 @@ +2015-01-19 Richard Henderson + + 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 * Merge to upstream commit 3ac1610aa33c887ea9b14935208943925714a33e. diff --git a/libffi/testsuite/lib/libffi.exp b/libffi/testsuite/lib/libffi.exp index 86ee76639b3..6f865fd6286 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] }