summaryrefslogtreecommitdiffstats
path: root/newlib
diff options
context:
space:
mode:
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog4
-rw-r--r--newlib/configure.host1
2 files changed, 5 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index 259ae6b9b..4bf637234 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,3 +1,7 @@
+2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
+
+ * configure.host: Let *rtems* default to c99-formats.
+
2008-12-12 Craig Howland <howland@LGSInnovations.com>
* libc/stdio/freopen.c: Add <string.h> for memset prototype.
diff --git a/newlib/configure.host b/newlib/configure.host
index d3fdbdf33..8d0d2f8b8 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -536,6 +536,7 @@ case "${host}" in
# NOTE: When newlib malloc uses a semaphore, RTEMS will switch to that.
*-*-rtems*)
default_newlib_io_long_long="yes"
+ default_newlib_io_c99_formats="yes"
newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DEXIT_PROVIDED -DMISSING_SYSCALL_NAMES -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_FCNTL"
# turn off unsupported items in posix directory
newlib_cflags="${newlib_cflags} -D_NO_GETLOGIN -D_NO_GETPWENT -D_NO_GETUT -D_NO_GETPASS -D_NO_SIGSET"