[Pkg-openldap-devel] [openldap] 02/05: also use CPPFLAGS from dpkg-buildflags

Ryan Tandy rtandy-guest at moszumanska.debian.org
Mon Oct 20 17:33:56 UTC 2014


This is an automated email from the git hooks/post-receive script.

rtandy-guest pushed a commit to branch master
in repository openldap.

commit c125883fec23a7a78cbbd9fb5f1945af15aca6f1
Author: Ryan Tandy <ryan at nardis.ca>
Date:   Sat Oct 18 23:43:33 2014 +0000

    also use CPPFLAGS from dpkg-buildflags
---
 debian/changelog                                   | 2 ++
 debian/patches/contrib-modules-use-dpkg-buildflags | 4 ++--
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 9323464..6c5adcf 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 openldap (2.4.40-2) UNRELEASED; urgency=medium
 
   * Fix typo (chmod/chgrp) in previous changelog, spotted by Ferenc Wagner.
+  * debian/patches/contrib-modules-use-dpkg-buildflags: Also use CPPFLAGS from
+    dpkg-buildflags. Spotted by Lintian.
 
  -- Ryan Tandy <ryan at nardis.ca>  Sun, 19 Oct 2014 17:34:00 -0700
 
diff --git a/debian/patches/contrib-modules-use-dpkg-buildflags b/debian/patches/contrib-modules-use-dpkg-buildflags
index 1b15529..e25c2be 100644
--- a/debian/patches/contrib-modules-use-dpkg-buildflags
+++ b/debian/patches/contrib-modules-use-dpkg-buildflags
@@ -11,7 +11,7 @@ Bug-Debian: http://bugs.debian.org/663724
  
  .c.lo:
 -	$(LIBTOOL) --mode=compile $(CC) $(OPT) $(DEFS) $(INCS) -c $<
-+	$(LIBTOOL) --mode=compile $(CC) $(OPT) $(CFLAGS) $(DEFS) $(INCS) -c $<
++	$(LIBTOOL) --mode=compile $(CC) $(OPT) $(CFLAGS) $(CPPFLAGS) $(DEFS) $(INCS) -c $<
  
  all: $(PROGRAMS)
  
@@ -28,7 +28,7 @@ Bug-Debian: http://bugs.debian.org/663724
  
  .c.lo:
 -	$(LIBTOOL) --mode=compile $(CC) $(OPT) $(DEFS) $(INCS) -c $<
-+	$(LIBTOOL) --mode=compile $(CC) $(OPT) $(CFLAGS) $(DEFS) $(INCS) -c $<
++	$(LIBTOOL) --mode=compile $(CC) $(OPT) $(CFLAGS) $(CPPFLAGS) $(DEFS) $(INCS) -c $<
  
  all: $(PROGRAMS)
  

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openldap/openldap.git



More information about the Pkg-openldap-devel mailing list