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.host4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/configure.host b/newlib/configure.host
index 7a1e2918d..ca5eec65c 100644
--- a/newlib/configure.host
+++ b/newlib/configure.host
@@ -327,6 +327,10 @@ esac
case "${host}" in
*-*-cygwin*)
newlib_cflags="${newlib_cflags} -DHAVE_OPENDIR -DHAVE_RENAME -DSIGNAL_PROVIDED -DWANT_IO_LONG_DBL -DWANT_PRINTF_LONG_LONG -D_COMPILING_NEWLIB -DHAVE_FCNTL"
+# CYGWIN provides its own malloc if --enable-malloc-debugging is set
+ if [ "x${malloc_debugging}" = "xyes" ] ; then
+ newlib_cflags="${newlib_cflags} -DMALLOC_PROVIDED"
+ fi
syscall_dir=syscalls
;;
# RTEMS supplies its own versions of some routines: