diff options
Diffstat (limited to 'newlib/configure.host')
-rw-r--r-- | newlib/configure.host | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host index 4066c7073..15676aa6b 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -229,6 +229,12 @@ if [ "${newlib_multithread}" = "no" ] ; then newlib_cflags="${newlib_cflags} -D__SINGLE_THREAD__" fi +# Disable syscall support if requested. + +if [ "${newlib_may_supply_syscalls}" = "no" ] ; then + newlib_cflags="${newlib_cflags} -D__NO_SYSCALLS__" +fi + # Enable multibyte support if requested or it is defaulted # for target. |