[libocas] 44/60: Use DEB_CFLAGS_MAINT_APPEND, as recommended, instead of CFLAGS

Christian Kastner chrisk-guest at moszumanska.debian.org
Mon Aug 25 03:34:45 UTC 2014


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

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

commit 1ba4909551a050f1736a2bbdffb3f04b3b95303c
Author: Christian Kastner <debian at kvr.at>
Date:   Sun Mar 2 11:21:22 2014 +0100

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

diff --git a/debian/changelog b/debian/changelog
index d659e68..979af91 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,8 @@ libocas (0.93-2) unstable; urgency=low
     - Bumped debhelper compatibility level to recommended level 9
   * debian/copyright:
     - Refreshed to machine-readable copyright format 1.0
+  * debian/rules:
+    - Use DEB_CFLAGS_MAINT_APPEND, as recommended, instead of CFLAGS
   * debian/patches (modified):
     - 0001-Properly-build-shared-and-static-libraries-programs
       Include CPPFLAGS to avoid hardening flag warnings
diff --git a/debian/rules b/debian/rules
index f7bb98e..856a9b4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,13 +11,13 @@ LSUBVER = $(shell echo $(DVER) | sed -e 's/Version: .*\.\([0-9]*\).*/\1/')
 export LVER
 export LSUBVER
 
-CFLAGS = -Wall -g
+DEB_CFLAGS_MAINT_APPEND = -Wall -g
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
-    CFLAGS += -O0
+    DEB_CFLAGS_MAINT_APPEND += -O0
 else
-    CFLAGS += -O3
+    DEB_CFLAGS_MAINT_APPEND += -O3
 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/libocas.git



More information about the debian-science-commits mailing list