aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.8.3/config/mh-mingw
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.8.3/config/mh-mingw')
-rw-r--r--gcc-4.8.3/config/mh-mingw8
1 files changed, 8 insertions, 0 deletions
diff --git a/gcc-4.8.3/config/mh-mingw b/gcc-4.8.3/config/mh-mingw
new file mode 100644
index 000000000..bc1d27477
--- /dev/null
+++ b/gcc-4.8.3/config/mh-mingw
@@ -0,0 +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 -Wno-pedantic-ms-format
+CFLAGS += -D__USE_MINGW_ACCESS
+# 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