OSDN Git Service

* mh-cygwin (LDFLAGS): Turn up stack allocation to 12MB.
[pf3gnuchains/gcc-fork.git] / config / mh-cygwin
index 29f1656..e3f7325 100644 (file)
@@ -1,9 +1,11 @@
-# We don't want debugging info in Win32-hosted toolchains.
-# Accomplish this by overriding CFLAGS.
-CFLAGS=-O2
-CXXFLAGS=-O2
+EXTRA_TARGET_HOST_ALL_MODULES=maybe-all-libtermcap
+EXTRA_TARGET_HOST_INSTALL_MODULES=maybe-install-libtermcap
 
 
-# We also need to override LIBGCC2_DEBUG_CFLAGS so libgcc2 will be
-# built without debugging information
+# 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
 
 
-LIBGCC2_DEBUG_CFLAGS=
+all-gdb: maybe-all-libtermcap
+
+install-gdb: maybe-all-libtermcap