aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorjsm28 <>2008-06-08 15:14:33 +0000
committerjsm28 <>2008-06-08 15:14:33 +0000
commit0818da6b85ed6bef892e89ae7009e63844bd491c (patch)
treeaec648ca3453c6e069be4508f594fbeb9d4bf473 /config
parent7d221e2c14efd761ddaa192b953e14047be45ebe (diff)
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@.
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 f7548c3fafd..55d74f668a1 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 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