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:
Diffstat (limited to 'newlib/configure.host')
-rw-r--r--newlib/configure.host6
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.