* configure.host: Add -D_COMPILING_NEWLIB to newlib_cflags.
This commit is contained in:
parent
fee22c5382
commit
4a20b7de18
|
@ -1,3 +1,7 @@
|
|||
2010-11-16 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* configure.host: Add -D_COMPILING_NEWLIB to newlib_cflags.
|
||||
|
||||
2010-11-04 Ralf Corsépius <ralf.corsepius@rtems.org>
|
||||
|
||||
* libm/complex/cacos.c: Reorder function calls to work around ICE
|
||||
|
|
|
@ -558,6 +558,7 @@ case "${host}" in
|
|||
*-*-rtems*)
|
||||
default_newlib_io_long_long="yes"
|
||||
default_newlib_io_c99_formats="yes"
|
||||
newlib_cflags="${newlib_cflags} -D_COMPILING_NEWLIB"
|
||||
newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED -DEXIT_PROVIDED -DSIGNAL_PROVIDED -DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_BLKSIZE -DHAVE_FCNTL -DHAVE_ASSERT_FUNC"
|
||||
# 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 -D_NO_WORDEXP -D_NO_POPEN"
|
||||
|
|
Loading…
Reference in New Issue