Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Sherrill <joel@rtems.org>2016-02-25 20:43:18 +0300
committerJoel Sherrill <joel@rtems.org>2016-02-25 23:11:27 +0300
commit678f774727527b0d398052ee4dcbcbcf72327910 (patch)
tree6929469f70083f945fcb916026f432d95bac5703 /newlib/configure.host
parentb8a88d0b04fbdee0d3437d3ddaaf2bf8f3ceb814 (diff)
newlib/configure.host: Turn off sti/cli for i386 setjmp for i386-rtems*
Diffstat (limited to 'newlib/configure.host')
-rw-r--r--newlib/configure.host2
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index 5fa37d4b0..f6abb5c37 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -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.