aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRainer Orth <ro@TechFak.Uni-Bielefeld.DE>2002-06-04 18:44:35 +0000
committerRainer Orth <ro@gcc.gnu.org>2002-06-04 18:44:35 +0000
commitd6c7e0738bebb420f44aadbffaf6ebbc69be6ae8 (patch)
treea4975b7225d3efd5de0cc565db40c8be5c4afd6c
parent05261e700c01eaeefaa00ac00df69969630b221b (diff)
downloadgcc-d6c7e0738bebb420f44aadbffaf6ebbc69be6ae8.zip
gcc-d6c7e0738bebb420f44aadbffaf6ebbc69be6ae8.tar.gz
gcc-d6c7e0738bebb420f44aadbffaf6ebbc69be6ae8.tar.bz2
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
-rw-r--r--libstdc++-v3/ChangeLog5
-rw-r--r--libstdc++-v3/testsuite/lib/libstdc++-v3-dg.exp7
2 files changed, 9 insertions, 3 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index e1ea9e1..e52bafa 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,8 @@
+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>
diff --git a/libstdc++-v3/testsuite/lib/libstdc++-v3-dg.exp b/libstdc++-v3/testsuite/lib/libstdc++-v3-dg.exp
index 74a913c..fd95a0d 100644
--- a/libstdc++-v3/testsuite/lib/libstdc++-v3-dg.exp
+++ b/libstdc++-v3/testsuite/lib/libstdc++-v3-dg.exp
@@ -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]