[liblinear] 110/123: Use DEB_CFLAGS_MAINT_APPEND, as recommended, instead of CFLAGS

Christian Kastner chrisk-guest at moszumanska.debian.org
Tue Aug 26 03:42:15 UTC 2014


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

chrisk-guest pushed a commit to branch master
in repository liblinear.

commit 7dbf75ecc3ad41e49601d847b564a6713c95a9a6
Author: Christian Kastner <debian at kvr.at>
Date:   Sun Mar 2 11:20:07 2014 +0100

    Use DEB_CFLAGS_MAINT_APPEND, as recommended, instead of CFLAGS
---
 debian/changelog | 1 +
 debian/rules     | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2800182..1d7e418 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,7 @@ liblinear (1.8+dfsg-2) unstable; urgency=low
     - Converted to dh_python2
     - Fixed get-orig-rules target in debian/rules. The generated tarball did
       not match the git version
+    - Use DEB_CFLAGS_MAINT_APPEND, as recommended, instead of CFLAGS
   * debian/copyright:
     - Updated to machine-readable copyright format 1.0
   * debian/patches (new):
diff --git a/debian/rules b/debian/rules
index 37f8bc3..cf4064f 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,10 +20,10 @@ export LSUBVER
 # Get Dpkg version (needed for override_dh_makeshlibs)
 DPKGVER := $(shell dpkg -l dpkg-dev | grep '^i' | awk '{print $$3}')
 
-CFLAGS += -Wall
+export DEB_CFLAGS_MAIN_APPEND += -Wall
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 ifeq (amd64,$(DEB_HOST_ARCH))
-    CFLAGS += -msse
+    DEB_CFLAGS_MAINT_APPEND += -msse
 endif
 endif
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/liblinear.git



More information about the debian-science-commits mailing list