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:
authorJeff Johnston <jjohnstn@redhat.com>2008-12-12 20:07:37 +0300
committerJeff Johnston <jjohnstn@redhat.com>2008-12-12 20:07:37 +0300
commit7851320a41a03f6b890a634e52163a1954a48835 (patch)
treec4ea8f452fdf774ec6dacc380e4af8f8cb284196
parent6897665e673b0d49585a77510bd0a68dd6ed2e76 (diff)
2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.host: Let *rtems* default to c99-formats.
-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"