* testsuite/lib/newlib.exp: Add newlib_include_flags to compile

options when testing natively on i[3456]86-*-linux.
This commit is contained in:
Thomas Fitzsimmons 2002-05-16 00:17:50 +00:00
parent 3a6cb01ba9
commit a68fa57101
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
* testsuite/lib/newlib.exp: Add newlib_include_flags to compile
options when testing natively on i[3456]86-*-linux.
* testsuite/lib/checkoutput.exp (newlib_check_output): Output
only one pass or fail per test file. Trim \r's from output
values received from test programs. Remove support for named

View File

@ -69,7 +69,7 @@ proc newlib_target_compile { source dest type options } {
if [string match $host_triplet $target_triplet] then {
if [string match "i686-pc-linux-gnu" $host_triplet] then {
lappend options "libs=$objdir/crt0.o -lc -lgcc"
lappend options "ldflags=-nostdlib -L$objdir/.libs"
lappend options "ldflags=-nostdlib -L$objdir/.libs [newlib_include_flags]"
}
}