diff options
author | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-04-30 23:10:21 +0000 |
---|---|---|
committer | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-04-30 23:10:21 +0000 |
commit | f6bdb6f976de03403ac8aa50d203ced1c9faa7ab (patch) | |
tree | 7a5fab02afec927f26840e23e4776e1b67dc4b71 /newlib | |
parent | 4cf4f010fb845952130fc3f0fc158a9974ff6c32 (diff) | |
download | newlib-f6bdb6f976de03403ac8aa50d203ced1c9faa7ab.zip newlib-f6bdb6f976de03403ac8aa50d203ced1c9faa7ab.tar.gz newlib-f6bdb6f976de03403ac8aa50d203ced1c9faa7ab.tar.bz2 |
* testsuite/lib/newlib.exp (newlib_target_compile): Change
method of finding libgloss_target_dir.
Diffstat (limited to 'newlib')
-rw-r--r-- | newlib/ChangeLog | 3 | ||||
-rw-r--r-- | newlib/testsuite/lib/newlib.exp | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 78254f1..21feb33 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,8 @@ 2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com> + * testsuite/lib/newlib.exp (newlib_target_compile): Change + method of finding libgloss_target_dir. + * Makefile.am (site.exp): Change host_alias, host_triplet, target_alias, target_triplet to refer to gcc's host and target variables (newlib's build and host variables). diff --git a/newlib/testsuite/lib/newlib.exp b/newlib/testsuite/lib/newlib.exp index e6e9d66..3c2ab83 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 \ |