From f6bdb6f976de03403ac8aa50d203ced1c9faa7ab Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Tue, 30 Apr 2002 23:10:21 +0000 Subject: * testsuite/lib/newlib.exp (newlib_target_compile): Change method of finding libgloss_target_dir. --- newlib/testsuite/lib/newlib.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'newlib/testsuite') diff --git a/newlib/testsuite/lib/newlib.exp b/newlib/testsuite/lib/newlib.exp index e6e9d660b..3c2ab83aa 100644 --- a/newlib/testsuite/lib/newlib.exp +++ b/newlib/testsuite/lib/newlib.exp @@ -67,7 +67,7 @@ proc newlib_target_compile { source dest type options } { [info exists gluefile] } { lappend options "libs=$gluefile" # This method of finding libgloss_target_dir may not work for some targets - set libgloss_target_dir [lindex [split $host_triplet "-"] 0] + set libgloss_target_dir [lindex [split $target_triplet "-"] 0] lappend options "ldflags=$wrap_flags -B$objdir/../libgloss/$libgloss_target_dir \ -L$objdir/../libgloss/$libgloss_target_dir \ -L$srcdir/../../libgloss/$libgloss_target_dir \ -- cgit v1.2.3