]> sourceware.org Git - newlib-cygwin.git/commitdiff
newlib/configure.host: Turn off sti/cli for i386 setjmp for i386-rtems*
authorJoel Sherrill <joel@rtems.org>
Thu, 25 Feb 2016 17:43:18 +0000 (11:43 -0600)
committerJoel Sherrill <joel@rtems.org>
Thu, 25 Feb 2016 20:11:27 +0000 (14:11 -0600)
newlib/configure.host

index 5fa37d4b02e9fd27737abdccfa88c500c14f16fa..f6abb5c370f72716dd36f09cdece4abdbcbbcbc6 100644 (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.
This page took 0.032793 seconds and 5 git commands to generate.