summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--newlib/ChangeLog3
-rw-r--r--newlib/testsuite/lib/flags.exp6
2 files changed, 4 insertions, 5 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 280580e41..5b0b6ba27 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -3,6 +3,9 @@
* libc/stdlib/__call_atexit.c (__call_exitprocs): Handle atexit
functions registering additional atexit functions.
+ * testsuite/lib/flags.exp (newlib_include_flags): Drop
+ -I${newlib_dir}.
+
2007-04-04 Patrick Mansfield <patmans@us.ibm.com>
* libc/machine/spu/sys/syscall.h: New file for __send_to_ppe
diff --git a/newlib/testsuite/lib/flags.exp b/newlib/testsuite/lib/flags.exp
index ebc69286f..cc9a3561e 100644
--- a/newlib/testsuite/lib/flags.exp
+++ b/newlib/testsuite/lib/flags.exp
@@ -82,9 +82,5 @@ proc newlib_include_flags { args } {
return ""
}
- set newlib_dir [lookfor_file ${srcdir} newlib/libc/include/assert.h]
- if { ${newlib_dir} != "" } {
- set newlib_dir [file dirname ${newlib_dir}]
- }
- return " -I$objdir/targ-include -I${newlib_dir}"
+ return " -I$objdir/targ-include"
}