re PR libstdc++/36211 (__iconv_adaptor chooses char** where const char** is required)

2009-05-15  David Billinghurst <billingd@gcc.gnu.org>

	PR libstdc++/36211
	* testsuite/lib/libstdc++.exp(v3_target_compile):  Add
	cxxldflags to additional_flags rather than cxx_final.

From-SVN: r147565
This commit is contained in:
David Billinghurst 2009-05-15 09:23:58 +00:00
parent d05db9ccfa
commit 602feda58d
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2009-05-15 David Billinghurst <billingd@gcc.gnu.org>
PR libstdc++/36211
* testsuite/lib/libstdc++.exp(v3_target_compile): Add
cxxldflags to additional_flags rather than cxx_final.
2009-05-15 David Billinghurst <billingd@gcc.gnu.org>
* testsuite/26_numerics/random/discrete_distribution/cons/num_xbound_fun.cc:

View File

@ -402,8 +402,7 @@ proc v3_target_compile { source dest type options } {
# Flag setting based on type argument.
if { $type == "executable" } {
# Link the support objects into executables.
set cxx_final [concat $cxx_final $cxxldflags]
lappend options "additional_flags=./libtestc++.a"
lappend options "additional_flags=./libtestc++.a $cxxldflags"
} else {
if { $type == "sharedlib" } {
# Don't link in anything.