xref: /netbsd-src/external/gpl3/binutils.old/dist/config/mh-mingw (revision 5f2f42719cd62ff11fd913b40b7ce19f07c4fd25)
1# Add -D__USE_MINGW_ACCESS to enable the built compiler to work on Windows
2# Vista (see PR33281 for details).
3BOOT_CFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format
4CFLAGS += -D__USE_MINGW_ACCESS
5# Increase stack limit to a figure based on the Linux default, with 4MB added
6# as GCC turns out to need that much more to pass all the limits-* tests.
7LDFLAGS += -Wl,--stack,12582912
8BOOT_LDFLAGS += -Wl,--stack,12582912
9