1 # Add -D__USE_MINGW_ACCESS to enable the built compiler to work on Windows
2 # Vista (see PR33281 for details).
3 BOOT_CFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format
4 BOOT_CXXFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format
5 CFLAGS += -D__USE_MINGW_ACCESS
6 CXXFLAGS += -D__USE_MINGW_ACCESS
7 STAGE1_CXXFLAGS += -D__USE_MINGW_ACCESS
8 STAGE2_CXXFLAGS += -D__USE_MINGW_ACCESS
9 STAGE3_CXXFLAGS += -D__USE_MINGW_ACCESS
10 STAGE4_CXXFLAGS += -D__USE_MINGW_ACCESS
12 # Increase stack limit to a figure based on the Linux default, with 4MB added
13 # as GCC turns out to need that much more to pass all the limits-* tests.
14 LDFLAGS += -Wl,--stack,12582912
15 BOOT_LDFLAGS += -Wl,--stack,12582912