From 250315712b8621a9d3ad400dfb4333f71564b21c Mon Sep 17 00:00:00 2001 From: Dave Korn Date: Thu, 2 Dec 2010 23:36:59 +0000 Subject: * mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB. (BOOT_LDFLAGS): Add matching stack size flag. * mh-mingw (LDFLAGS): Likewise. (BOOT_LDFLAGS): Likewise. --- config/mh-mingw | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'config/mh-mingw') diff --git a/config/mh-mingw b/config/mh-mingw index d91323ef5fa..bc1d27477d0 100644 --- a/config/mh-mingw +++ b/config/mh-mingw @@ -2,5 +2,7 @@ # Vista (see PR33281 for details). BOOT_CFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format CFLAGS += -D__USE_MINGW_ACCESS -# Increase stack limit to same as Linux default. -LDFLAGS += -Wl,--stack,8388608 +# Increase stack limit to a figure based on the Linux default, with 4MB added +# as GCC turns out to need that much more to pass all the limits-* tests. +LDFLAGS += -Wl,--stack,12582912 +BOOT_LDFLAGS += -Wl,--stack,12582912 -- cgit v1.2.1