* testsuite/lib/newlib.exp: Add newlib_include_flags to compile
options when testing natively on i[3456]86-*-linux.
This commit is contained in:
@ -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]"
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user