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 5ff924047..ebf3a2bbb 100644 --- a/newlib/configure.host +++ b/newlib/configure.host @@ -209,6 +209,12 @@ case "${host_cpu}" in ;; esac +# Disable thread support if requested. + +if [ "${newlib_multithread}" = "no" ] ; then + newlib_cflags="${newlib_cflags} -D__SINGLE_THREAD__" +fi + # Enable multibyte support if requested. if [ "${newlib_mb}" = "yes" ] ; then |