* testsuite/lib/newlib.exp: Add newlib_include_flags to compile
options when testing natively on i[3456]86-*-linux.
This commit is contained in:
parent
3a6cb01ba9
commit
a68fa57101
|
@ -1,5 +1,8 @@
|
||||||
2002-05-15 Thomas Fitzsimmons <fitzsim@redhat.com>
|
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
|
* testsuite/lib/checkoutput.exp (newlib_check_output): Output
|
||||||
only one pass or fail per test file. Trim \r's from output
|
only one pass or fail per test file. Trim \r's from output
|
||||||
values received from test programs. Remove support for named
|
values received from test programs. Remove support for named
|
||||||
|
|
|
@ -69,7 +69,7 @@ proc newlib_target_compile { source dest type options } {
|
||||||
if [string match $host_triplet $target_triplet] then {
|
if [string match $host_triplet $target_triplet] then {
|
||||||
if [string match "i686-pc-linux-gnu" $host_triplet] then {
|
if [string match "i686-pc-linux-gnu" $host_triplet] then {
|
||||||
lappend options "libs=$objdir/crt0.o -lc -lgcc"
|
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]"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue