On 08/17/2017 12:14 PM, Martin Storsjö wrote: > Signed-off-by: Martin Storsjö <mar...@martin.st> > --- > mingw-w64-crt/Makefile.am | 10 +++++++++ > mingw-w64-crt/def-include/func.def.in | 42 > +++++++++++++++++++++++++++++++++++ > 2 files changed, 52 insertions(+) > create mode 100644 mingw-w64-crt/def-include/func.def.in > > diff --git a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am > index b6c0f43..2d33152 100644 > --- a/mingw-w64-crt/Makefile.am > +++ b/mingw-w64-crt/Makefile.am > @@ -1244,6 +1244,15 @@ endif > %.def: %.def.in > $(MKDIR_P) $(@D) && $(CPP) -x c $< -Wp,-w -I$(top_srcdir)/def-include | > $(SED) 's/^#/;/' > $@ > > +lib32/%.def: lib-common/%.def.in > + $(MKDIR_P) $(@D) && $(CPP) -x c $< -Wp,-w -I$(top_srcdir)/def-include > -DDEF_I386 | $(SED) 's/^#/;/' > $@ > + > +lib64/%.def: lib-common/%.def.in > + $(MKDIR_P) $(@D) && $(CPP) -x c $< -Wp,-w -I$(top_srcdir)/def-include > -DDEF_X64 | $(SED) 's/^#/;/' > $@ > + > +libarm32/%.def: lib-common/%.def.in > + $(MKDIR_P) $(@D) && $(CPP) -x c $< -Wp,-w -I$(top_srcdir)/def-include > -DDEF_ARM32 | $(SED) 's/^#/;/' > $@ > +
Add -Wp,-P,-undef? Why -w to suppress warnings?
signature.asc
Description: OpenPGP digital signature
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public