summaryrefslogtreecommitdiff
path: root/config/mh-cygwin
diff options
context:
space:
mode:
authordavek <davek@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-02 23:30:47 +0000
committerdavek <davek@138bc75d-0d04-0410-961f-82ee72b054a4>2010-12-02 23:30:47 +0000
commitfda57d05db0a761367d2dfaafb2fe66f91dab2ed (patch)
tree9b0417c584de62d3e77e9e0515523e4c55eaf234 /config/mh-cygwin
parentb6a9d65969834755e9f5c7ed87c2843d9be444b7 (diff)
downloadgcc-fda57d05db0a761367d2dfaafb2fe66f91dab2ed.tar.gz
* mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB.
(BOOT_LDFLAGS): Add matching stack size flag. * mh-mingw (LDFLAGS): Likewise. (BOOT_LDFLAGS): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@167400 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'config/mh-cygwin')
-rw-r--r--config/mh-cygwin6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/mh-cygwin b/config/mh-cygwin
index 3a9698b38eb..e3f7325035a 100644
--- a/config/mh-cygwin
+++ b/config/mh-cygwin
@@ -1,8 +1,10 @@
EXTRA_TARGET_HOST_ALL_MODULES=maybe-all-libtermcap
EXTRA_TARGET_HOST_INSTALL_MODULES=maybe-install-libtermcap
-# 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
all-gdb: maybe-all-libtermcap