]> git.ipfire.org Git - thirdparty/gcc.git/blame - config/mh-mingw
Fix GCC_LINUX_FUTEX to work with C99 compilers
[thirdparty/gcc.git] / config / mh-mingw
CommitLineData
70d8e49e 1# Add -D__USE_MINGW_ACCESS to enable the built compiler to work on Windows
2# Vista (see PR33281 for details).
fb09a887 3BOOT_CFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format
80b4fbfd 4CFLAGS += -D__USE_MINGW_ACCESS
498a2454 5STAGE1_CXXFLAGS += -D__USE_MINGW_ACCESS
6STAGE2_CXXFLAGS += -D__USE_MINGW_ACCESS
7STAGE3_CXXFLAGS += -D__USE_MINGW_ACCESS
8STAGE4_CXXFLAGS += -D__USE_MINGW_ACCESS
9
fda57d05 10# Increase stack limit to a figure based on the Linux default, with 4MB added
11# as GCC turns out to need that much more to pass all the limits-* tests.
12LDFLAGS += -Wl,--stack,12582912
13BOOT_LDFLAGS += -Wl,--stack,12582912