Commit d6c7e073 by Rainer Orth Committed by Rainer Orth

libstdc++-v3-dg.exp (libstdc++-v3_target_compile): Search correct multilib…

libstdc++-v3-dg.exp (libstdc++-v3_target_compile): Search correct multilib testsuite dir for libv3test.

	* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
	Search correct multilib testsuite dir for libv3test.

From-SVN: r54256
parent 05261e70
2002-06-04 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3_target_compile):
Search correct multilib testsuite dir for libv3test.
2002-06-04 Paolo Carlini <pcarlini@unitus.it>
Gaby Dos Reis <gdr@codesourcery.com>
......
......@@ -185,6 +185,7 @@ proc libstdc++-v3_target_compile { source dest type options } {
global cxx
global cxxflags
global includes
global blddir
if { [target_info needs_status_wrapper] != "" && [info exists gluefile] } {
lappend options "libs=${gluefile}"
......@@ -199,9 +200,9 @@ proc libstdc++-v3_target_compile { source dest type options } {
lappend options "compiler=$cxx_final"
# Picks up our local freshly-built testsuite library. We could just
# name it directly, "./libv3test.a" but this is more portable.
lappend options "ldflags=-L."
# Picks up the freshly-built testsuite library corresponding to the
# multilib under test.
lappend options "ldflags=-L${blddir}/testsuite"
lappend options "libs=-lv3test"
return [target_compile $source $dest $type $options]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment