From a68fa571015ee98e51c21f2189c6ffed8e0314ba Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Thu, 16 May 2002 00:17:50 +0000 Subject: [PATCH] * testsuite/lib/newlib.exp: Add newlib_include_flags to compile options when testing natively on i[3456]86-*-linux. --- newlib/ChangeLog | 3 +++ newlib/testsuite/lib/newlib.exp | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/newlib/ChangeLog b/newlib/ChangeLog index ade1658e4..4fc6eaf64 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,8 @@ 2002-05-15 Thomas Fitzsimmons + * 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 diff --git a/newlib/testsuite/lib/newlib.exp b/newlib/testsuite/lib/newlib.exp index 7c4409618..48f527e7a 100644 --- a/newlib/testsuite/lib/newlib.exp +++ b/newlib/testsuite/lib/newlib.exp @@ -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]" } }