OSDN Git Service

* mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB.
[pf3gnuchains/gcc-fork.git] / config / mh-cygwin
index 6c3ab80..e3f7325 100644 (file)
@@ -1,6 +1,11 @@
 EXTRA_TARGET_HOST_ALL_MODULES=maybe-all-libtermcap
 EXTRA_TARGET_HOST_INSTALL_MODULES=maybe-install-libtermcap
 
+# 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
 
 install-gdb: maybe-all-libtermcap