summaryrefslogtreecommitdiff
path: root/config/mh-mingw
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2008-06-08 17:14:33 +0100
committerJoseph Myers <jsm28@gcc.gnu.org>2008-06-08 17:14:33 +0100
commitf8c33439c6ada920a72170010472ecda965371d2 (patch)
treeaec648ca3453c6e069be4508f594fbeb9d4bf473 /config/mh-mingw
parent91635d0806bad0493405beac1cd528ed07cbaf87 (diff)
re PR tree-optimization/36218 (VRP causes stack overflow while building libgcj)
PR tree-optimization/36218 * Makefile.def (flags_to_pass): Add LDFLAGS_FOR_BUILD. * Makefile.tpl (EXTRA_BUILD_FLAGS): Define. (all prefix="build-"): Pass them to build-system sub-makes. * Makefile.in: Regenerate. config: * config/mh-mingw (LDFLAGS): Define. gcc: * configure.ac: Use LDFLAGS="${LDFLAGS_FOR_BUILD}" when running configure for the build system. (BUILD_LDFLAGS): Define. * configure: Regenerate. * Makefile.in (BUILD_LDFLAGS): Define to @BUILD_LDFLAGS@. From-SVN: r136563
Diffstat (limited to 'config/mh-mingw')
-rw-r--r--config/mh-mingw2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/mh-mingw b/config/mh-mingw
index 5a38cdb4546..e31bfd323b4 100644
--- a/config/mh-mingw
+++ b/config/mh-mingw
@@ -2,3 +2,5 @@
# Vista (see PR33281 for details).
BOOT_CFLAGS += -D__USE_MINGW_ACCESS
CFLAGS += -D__USE_MINGW_ACCESS
+# Increase stack limit to same as Linux default.
+LDFLAGS = -Wl,--stack,8388608