commit/XEmacs: Jerry James: Use CPPFLAGS when building modules. See xemacs-patches message

[email protected] Fri, 15 Aug 2014 16:39:27 -0000
Newsgroups gmane.emacs.xemacs.patches
Message-ID <[email protected]>
1 new commit in XEmacs:

https://bitbucket.org/xemacs/xemacs/commits/080c1762f7a1/
Changeset:   080c1762f7a1
User:        Jerry James
Date:        2014-08-15 18:39:19
Summary:     Use CPPFLAGS when building modules.  See xemacs-patches message
<CAHCOHQn_3ca3-LoXVo+9rYn-dFPMh3mE2__dSWO5AH_Bsn1u9g@mail.gmail.com>.
Affected #:  2 files

diff -r 2dee57a2c2d6579c30cc5cc74181cd42a3873bf5 -r 080c1762f7a1120e28013da8acf4ad1d91b7f0ba modules/ChangeLog
--- a/modules/ChangeLog
+++ b/modules/ChangeLog
@@ -1,3 +1,7 @@
+2014-08-11  Jerry James  <[email protected]>
+
+	* common/Makefile.common (CPPFLAGS): New variable.
+
 2013-06-23  Stephen J. Turnbull  <[email protected]>
 
 	* XEmacs 21.5.34 "kale" is released.

diff -r 2dee57a2c2d6579c30cc5cc74181cd42a3873bf5 -r 080c1762f7a1120e28013da8acf4ad1d91b7f0ba modules/common/Makefile.common
--- a/modules/common/Makefile.common
+++ b/modules/common/Makefile.common
@@ -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=$@ \

Repository URL: https://bitbucket.org/xemacs/xemacs/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.