diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-20 21:26:04 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-01-20 21:26:04 +0000 |
commit | 50321e16db4c59fabc106ea98a12f8545f487386 (patch) | |
tree | 6bdab5b7a6660e21028843c9cce5fc6e34ed5c72 /libffi/testsuite/lib/libffi.exp | |
parent | 3cf9a994e4ccc4c6b88f7b1652726115b3e63a33 (diff) | |
download | gcc-50321e16db4c59fabc106ea98a12f8545f487386.tar.gz |
PR libffi/64581
* testsuite/lib/libffi.exp (libffi_target_compile): Don't switch
to C++ mode when compiling C++ source code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@219915 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/testsuite/lib/libffi.exp')
-rw-r--r-- | libffi/testsuite/lib/libffi.exp | 4 |
1 files changed, 0 insertions, 4 deletions
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] } |