aboutsummaryrefslogtreecommitdiff
path: root/config/mh-mingw
diff options
context:
space:
mode:
authorJohannes Pfau <johannespfau@gmail.com>2019-03-18 22:36:56 +0000
committerJonathan Yong <jyong@gcc.gnu.org>2019-03-18 22:36:56 +0000
commiteea4e2ff0a3f5e7f37df204c070cc5d9ef339e6e (patch)
tree40f5a9c323fc54e7f2ef8aa2fdb4bfb59896da3a /config/mh-mingw
parent3d8ce9bab1e52abe4762320bbc74e5e8d4fa734e (diff)
downloadgcc-eea4e2ff0a3f5e7f37df204c070cc5d9ef339e6e.zip
gcc-eea4e2ff0a3f5e7f37df204c070cc5d9ef339e6e.tar.gz
gcc-eea4e2ff0a3f5e7f37df204c070cc5d9ef339e6e.tar.bz2
mh-mingw: Also set __USE_MINGW_ACCESS flag for C++ code.
From-SVN: r269784
Diffstat (limited to 'config/mh-mingw')
-rw-r--r--config/mh-mingw5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/mh-mingw b/config/mh-mingw
index bc1d274..a795096 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