2007-09-06 17:42:02 +02:00
|
|
|
# Add -D__USE_MINGW_ACCESS to enable the built compiler to work on Windows
|
|
|
|
# Vista (see PR33281 for details).
|
2008-11-21 14:54:41 +01:00
|
|
|
BOOT_CFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format
|
2021-04-09 13:46:36 +02:00
|
|
|
BOOT_CXXFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format
|
2010-03-23 15:48:08 +01:00
|
|
|
CFLAGS += -D__USE_MINGW_ACCESS
|
2021-04-09 13:46:36 +02:00
|
|
|
CXXFLAGS += -D__USE_MINGW_ACCESS
|
2019-03-18 23:36:56 +01:00
|
|
|
STAGE1_CXXFLAGS += -D__USE_MINGW_ACCESS
|
|
|
|
STAGE2_CXXFLAGS += -D__USE_MINGW_ACCESS
|
|
|
|
STAGE3_CXXFLAGS += -D__USE_MINGW_ACCESS
|
|
|
|
STAGE4_CXXFLAGS += -D__USE_MINGW_ACCESS
|
|
|
|
|
2010-12-03 00:30:47 +01:00
|
|
|
# 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
|