OSDN Git Service

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