X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=config%2Fmh-mingw;h=bc1d27477d047f667a47253cd958bc4ce07530bc;hp=d91323ef5fad38635a1c6a1b0d5743dafcd668ff;hb=fda57d05db0a761367d2dfaafb2fe66f91dab2ed;hpb=fb09a887cd93eab2397c186030bea8cd98776d84 diff --git a/config/mh-mingw b/config/mh-mingw index d91323ef5fa..bc1d27477d0 100644 --- a/config/mh-mingw +++ b/config/mh-mingw @@ -2,5 +2,7 @@ # Vista (see PR33281 for details). 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 +# 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