89e95ad2e7
This is similar to what was done in eea4e2ff0a3f5e7f37df204c070cc5d9ef339e6e (where it was added to STAGE*_CXXFLAGS), but this adds the flag to the CXXFLAGS and BOOT_CXXFLAGS variables too (as it's already added to CFLAGS and BOOT_CFLAGS). 2021-04-09 Martin Storsjö <martin@martin.st> config/ChangeLog: * mh-mingw: Set __USE_MINGW_ACCESS in missed C++ flags variables
16 lines
678 B
Plaintext
16 lines
678 B
Plaintext
# Add -D__USE_MINGW_ACCESS to enable the built compiler to work on Windows
|
|
# Vista (see PR33281 for details).
|
|
BOOT_CFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format
|
|
BOOT_CXXFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format
|
|
CFLAGS += -D__USE_MINGW_ACCESS
|
|
CXXFLAGS += -D__USE_MINGW_ACCESS
|
|
STAGE1_CXXFLAGS += -D__USE_MINGW_ACCESS
|
|
STAGE2_CXXFLAGS += -D__USE_MINGW_ACCESS
|
|
STAGE3_CXXFLAGS += -D__USE_MINGW_ACCESS
|
|
STAGE4_CXXFLAGS += -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
|