# HG changeset patch # User Jerry James # Date 1408120759 21600 # Node ID 080c1762f7a1120e28013da8acf4ad1d91b7f0ba # Parent 2dee57a2c2d6579c30cc5cc74181cd42a3873bf5 Use CPPFLAGS when building modules. See xemacs-patches message . diff -r 2dee57a2c2d6 -r 080c1762f7a1 modules/ChangeLog --- a/modules/ChangeLog Wed Aug 06 10:19:25 2014 +0100 +++ b/modules/ChangeLog Fri Aug 15 10:39:19 2014 -0600 @@ -1,3 +1,7 @@ +2014-08-11 Jerry James + + * common/Makefile.common (CPPFLAGS): New variable. + 2013-06-23 Stephen J. Turnbull * XEmacs 21.5.34 "kale" is released. diff -r 2dee57a2c2d6 -r 080c1762f7a1 modules/common/Makefile.common --- a/modules/common/Makefile.common Wed Aug 06 10:19:25 2014 +0100 +++ b/modules/common/Makefile.common Fri Aug 15 10:39:19 2014 -0600 @@ -35,6 +35,7 @@ RM=rm -f PROGNAME=@PROGNAME@ CFLAGS=@XE_CFLAGS@ +CPPFLAGS=@CPPFLAGS@ INSTALL=@INSTALL@ version=@version@ prefix=@prefix@ @@ -67,7 +68,7 @@ all: $(OBJECT_TO_BUILD) .c.o: - $(MODCC) $(MODCFLAGS) -c $< + $(MODCC) $(MODCFLAGS) $(CPPFLAGS) -c $< $(MODNAME).ell: $(OBJS) $(MODNAME)_i.o $(IMPORT_LIB) $(MODCC) --mode=link --mode=verbose --mod-output=$@ \