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
This commit is contained in:
parent
a5504e99e1
commit
039ad4c2f4
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
@ -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]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user