2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>

* configure.host: Let *rtems* default to c99-formats.
This commit is contained in:
Jeff Johnston 2008-12-12 17:07:37 +00:00
parent 6897665e67
commit 7851320a41
2 changed files with 5 additions and 0 deletions

View File

@ -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.

View File

@ -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"