Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog3
-rw-r--r--newlib/testsuite/lib/newlib.exp2
2 files changed, 4 insertions, 1 deletions
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 <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
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]"
}
}