From: Johannes Pfau Date: Mon, 18 Mar 2019 22:36:56 +0000 (+0000) Subject: mh-mingw: Also set __USE_MINGW_ACCESS flag for C++ code. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eea4e2ff0a3f5e7f37df204c070cc5d9ef339e6e;p=gcc.git mh-mingw: Also set __USE_MINGW_ACCESS flag for C++ code. From-SVN: r269784 --- diff --git a/config/ChangeLog b/config/ChangeLog index c2495066f26..7c56e294e6f 100644 --- a/config/ChangeLog +++ b/config/ChangeLog @@ -1,3 +1,7 @@ +2019-03-02 Johannes Pfau + + * mh-mingw: Also set __USE_MINGW_ACCESS flag for C++ code. + 2018-10-31 Joseph Myers PR bootstrap/82856 diff --git a/config/mh-mingw b/config/mh-mingw index bc1d27477d0..a795096f038 100644 --- a/config/mh-mingw +++ b/config/mh-mingw @@ -2,6 +2,11 @@ # Vista (see PR33281 for details). BOOT_CFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format CFLAGS += -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