X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=config%2Fmh-mingw;h=a795096f038f26f2db70f72487ca2665b9e7097e;hb=2d0a923cc653b76a531651c9f4b026a0ae366858;hp=4c49d5d5917f811d7a0b6c47e65ddcca7087ee98;hpb=c5e38e547e14e9f282c9d98a7c70272cecdcac10;p=deliverable%2Fbinutils-gdb.git diff --git a/config/mh-mingw b/config/mh-mingw index 4c49d5d591..a795096f03 100644 --- a/config/mh-mingw +++ b/config/mh-mingw @@ -1,6 +1,13 @@ # 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 +BOOT_CFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format CFLAGS += -D__USE_MINGW_ACCESS -# Increase stack limit to same as Linux default. -LDFLAGS += -Wl,--stack,8388608 +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