Message ID | 20210409114636.2628253-1-martin@martin.st |
---|---|
State | Accepted |
Commit | 89e95ad2e7679322b2f5ee9070ff2721d5ca1d6d |
Headers | show |
Series | mh-mingw: Set __USE_MINGW_ACCESS in missed C++ flags variables | expand |
On 4/9/21 11:46 AM, Martin Storsjö wrote: > This is similar to what was done in > eea4e2ff0a3f5e7f37df204c070cc5d9ef339e6e (where it was added to > STAGE*_CXXFLAGS), but this adds the flag to the CXXFLAGS and > BOOT_CXXFLAGS variables too (as it's already added to CFLAGS and > BOOT_CFLAGS). > > 2021-04-09 Martin Storsjö <martin@martin.st> > > config/ChangeLog: > * mh-mingw: Set __USE_MINGW_ACCESS in missed C++ flags > variables > --- > config/mh-mingw | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/config/mh-mingw b/config/mh-mingw > index a795096f038..e91367a7112 100644 > --- a/config/mh-mingw > +++ b/config/mh-mingw > @@ -1,7 +1,9 @@ > # 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 -Wno-pedantic-ms-format > +BOOT_CXXFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format > CFLAGS += -D__USE_MINGW_ACCESS > +CXXFLAGS += -D__USE_MINGW_ACCESS > STAGE1_CXXFLAGS += -D__USE_MINGW_ACCESS > STAGE2_CXXFLAGS += -D__USE_MINGW_ACCESS > STAGE3_CXXFLAGS += -D__USE_MINGW_ACCESS > Patch looks good to me, will push to master branch soon.
On 4/9/21 11:46 AM, Martin Storsjö wrote: > This is similar to what was done in > eea4e2ff0a3f5e7f37df204c070cc5d9ef339e6e (where it was added to > STAGE*_CXXFLAGS), but this adds the flag to the CXXFLAGS and > BOOT_CXXFLAGS variables too (as it's already added to CFLAGS and > BOOT_CFLAGS). > > 2021-04-09 Martin Storsjö <martin@martin.st> > > config/ChangeLog: > * mh-mingw: Set __USE_MINGW_ACCESS in missed C++ flags > variables > --- > config/mh-mingw | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/config/mh-mingw b/config/mh-mingw > index a795096f038..e91367a7112 100644 > --- a/config/mh-mingw > +++ b/config/mh-mingw > @@ -1,7 +1,9 @@ > # 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 -Wno-pedantic-ms-format > +BOOT_CXXFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format > CFLAGS += -D__USE_MINGW_ACCESS > +CXXFLAGS += -D__USE_MINGW_ACCESS > STAGE1_CXXFLAGS += -D__USE_MINGW_ACCESS > STAGE2_CXXFLAGS += -D__USE_MINGW_ACCESS > STAGE3_CXXFLAGS += -D__USE_MINGW_ACCESS > Pushed to master branch, thanks.
diff --git a/config/mh-mingw b/config/mh-mingw index a795096f038..e91367a7112 100644 --- a/config/mh-mingw +++ b/config/mh-mingw @@ -1,7 +1,9 @@ # 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 -Wno-pedantic-ms-format +BOOT_CXXFLAGS += -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format CFLAGS += -D__USE_MINGW_ACCESS +CXXFLAGS += -D__USE_MINGW_ACCESS STAGE1_CXXFLAGS += -D__USE_MINGW_ACCESS STAGE2_CXXFLAGS += -D__USE_MINGW_ACCESS STAGE3_CXXFLAGS += -D__USE_MINGW_ACCESS