Sync config with GCC
[deliverable/binutils-gdb.git] / config / mh-mingw
index 4c49d5d5917f811d7a0b6c47e65ddcca7087ee98..bc1d27477d047f667a47253cd958bc4ce07530bc 100644 (file)
@@ -1,6 +1,8 @@
 # Add -D__USE_MINGW_ACCESS to enable the built compiler to work on Windows
 # Vista (see PR33281 for details).
-BOOT_CFLAGS += -D__USE_MINGW_ACCESS
+BOOT_CFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format
 CFLAGS += -D__USE_MINGW_ACCESS
-# 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
This page took 0.023269 seconds and 4 git commands to generate.