+2011-09-08 Jeff Johnston <jjohnstn@redhat.com>
+
+ * testsuite/lib/flags.exp: Add logic to add the
+ srcdir include directory to compile flags.
+
2011-08-26 Steven Abner <pheonix@zoomtown.com>
* libc/time/mktm_r.c (_mktm_r): Fix previous fix.
-# Copyright (C) 2002 by Red Hat, Incorporated. All rights reserved.
+# Copyright (C) 2002, 2011 by Red Hat, Incorporated. All rights reserved.
#
# Permission to use, copy, modify, and distribute this software
# is freely granted, provided that this notice is preserved.
return ""
}
- return " -I$objdir/targ-include"
+ 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$objdir -I${newlib_dir}"
}