OSDN Git Service

* config/bootstrap-lto.mk: -fuse-linker-plugin is default now;
[pf3gnuchains/gcc-fork.git] / config / mh-cygwin
index 3a9698b..e3f7325 100644 (file)
@@ -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