[med-svn] [conquest-dicom-server] 07/10: Get rid of lintian tag hardening-no-fortify

Pablo Lorenzzoni spectra at moszumanska.debian.org
Thu Mar 20 20:47:03 UTC 2014


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

spectra pushed a commit to branch master
in repository conquest-dicom-server.

commit f84df1e20b5a254a3bde058039ef2f2859164ae4
Author: Pablo Lorenzzoni <spectra at debian.org>
Date:   Thu Mar 20 16:10:24 2014 -0300

    Get rid of lintian tag hardening-no-fortify
---
 debian/rules | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 4433fe6..2f7fe6c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,10 +3,14 @@
 
 # Debian Policy 10.1
 CPP = /usr/bin/g++
-CPPFLAGS = -O2 -g -Wall
-CXXFLAGS = -O2 -g -Wall
 INSTALL = install -s
 
+# Get rid of hardening-no-fortify warning by lintian
+CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+CFLAGS:=$(shell dpkg-buildflags --get CFLAGS)
+CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS)
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+
 %:
 	dh $@ --with autotools_dev
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/conquest-dicom-server.git



More information about the debian-med-commit mailing list