# Add -D__USE_MINGW_ACCESS to enable the built compiler to work on Windows
# Vista (see PR33281 for details).
# Because we wrap access in libiberty/cygpath.c, we do not want to use
# the MinGW wrappers for access.
BOOT_CFLAGS += -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

LDFLAGS += -Wl,--large-address-aware
