2008-12-12 Ralf Corsepius <ralf.corsepius@rtems.org>
* configure.host: Let *rtems* default to c99-formats.
This commit is contained in:
parent
6897665e67
commit
7851320a41
|
@ -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>
|
2008-12-12 Craig Howland <howland@LGSInnovations.com>
|
||||||
|
|
||||||
* libc/stdio/freopen.c: Add <string.h> for memset prototype.
|
* libc/stdio/freopen.c: Add <string.h> for memset prototype.
|
||||||
|
|
|
@ -536,6 +536,7 @@ case "${host}" in
|
||||||
# NOTE: When newlib malloc uses a semaphore, RTEMS will switch to that.
|
# NOTE: When newlib malloc uses a semaphore, RTEMS will switch to that.
|
||||||
*-*-rtems*)
|
*-*-rtems*)
|
||||||
default_newlib_io_long_long="yes"
|
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"
|
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
|
# 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"
|
newlib_cflags="${newlib_cflags} -D_NO_GETLOGIN -D_NO_GETPWENT -D_NO_GETUT -D_NO_GETPASS -D_NO_SIGSET"
|
||||||
|
|
Loading…
Reference in New Issue