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