diff options
Diffstat (limited to 'newlib/configure.host')
-rw-r--r-- | newlib/configure.host | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host index 201876ef2..d1f66d86e 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -341,6 +341,7 @@ case "${host}" in *-*-rtems*) # generic RTEMS support sys_dir=rtems posix_dir=posix + unix_dir=unix ;; a29k-*-*) sys_dir=a29khif @@ -533,6 +534,8 @@ case "${host}" in *-*-rtems*) default_newlib_io_long_long="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" ;; # VxWorks supplies its own version of malloc, and the newlib one # doesn't work because VxWorks does not have sbrk. |