* testsuite/lib/newlib.exp (newlib_target_compile): Change
method of finding libgloss_target_dir.
This commit is contained in:
parent
4cf4f010fb
commit
f6bdb6f976
|
@ -1,5 +1,8 @@
|
||||||
2002-04-30 Thomas Fitzsimmons <fitzsim@redhat.com>
|
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,
|
* Makefile.am (site.exp): Change host_alias, host_triplet,
|
||||||
target_alias, target_triplet to refer to gcc's host and target
|
target_alias, target_triplet to refer to gcc's host and target
|
||||||
variables (newlib's build and host variables).
|
variables (newlib's build and host variables).
|
||||||
|
|
|
@ -67,7 +67,7 @@ proc newlib_target_compile { source dest type options } {
|
||||||
[info exists gluefile] } {
|
[info exists gluefile] } {
|
||||||
lappend options "libs=$gluefile"
|
lappend options "libs=$gluefile"
|
||||||
# This method of finding libgloss_target_dir may not work for some targets
|
# 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 \
|
lappend options "ldflags=$wrap_flags -B$objdir/../libgloss/$libgloss_target_dir \
|
||||||
-L$objdir/../libgloss/$libgloss_target_dir \
|
-L$objdir/../libgloss/$libgloss_target_dir \
|
||||||
-L$srcdir/../../libgloss/$libgloss_target_dir \
|
-L$srcdir/../../libgloss/$libgloss_target_dir \
|
||||||
|
|
Loading…
Reference in New Issue