newlib/configure.host: Turn off sti/cli for i386 setjmp for i386-rtems*

This commit is contained in:
Joel Sherrill 2016-02-25 11:43:18 -06:00
parent b8a88d0b04
commit 678f774727
1 changed files with 2 additions and 0 deletions

View File

@ -592,6 +592,8 @@ case "${host}" in
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 -D_NO_POSIX_SPAWN"
# turn off using cli/sti in i386 setjmp/longjmp
newlib_cflags="${newlib_cflags} -D_I386MACH_ALLOW_HW_INTERRUPTS"
;;
# VxWorks supplies its own version of malloc, and the newlib one
# doesn't work because VxWorks does not have sbrk.