aboutsummaryrefslogtreecommitdiff
path: root/config
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
parent91635d0806bad0493405beac1cd528ed07cbaf87 (diff)
downloadgcc-f8c33439c6ada920a72170010472ecda965371d2.zip
gcc-f8c33439c6ada920a72170010472ecda965371d2.tar.gz
gcc-f8c33439c6ada920a72170010472ecda965371d2.tar.bz2
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')
-rw-r--r--config/ChangeLog5
-rw-r--r--config/mh-mingw2
2 files changed, 7 insertions, 0 deletions
diff --git a/config/ChangeLog b/config/ChangeLog
index f7548c3..55d74f6 100644
--- a/config/ChangeLog
+++ b/config/ChangeLog
@@ -1,3 +1,8 @@
+2008-06-08 Joseph Myers <joseph@codesourcery.com>
+
+ PR tree-optimization/36218
+ * config/mh-mingw (LDFLAGS): Define.
+
2008-06-05 Danny Smith <dannysmith@users.sourceforge.net>
PR driver/35916
diff --git a/config/mh-mingw b/config/mh-mingw
index 5a38cdb..e31bfd3 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