[caffe] 05/07: change hardening flags as suggested

Zhou Mo cdluminate-guest at moszumanska.debian.org
Sat May 7 01:28:58 UTC 2016


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

cdluminate-guest pushed a commit to branch master
in repository caffe.

commit 655ba87201f70140527c7b38b5550d9415a29f34
Author: Zhou Mo <cdluminate at gmail.com>
Date:   Fri May 6 11:00:02 2016 +0000

    change hardening flags as suggested
---
 debian/rules | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)

diff --git a/debian/rules b/debian/rules
index 6a7cbbc..4e1a882 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,11 +2,10 @@
 #export DH_VERBOSE = 1
 
 # Hardening Caffe according to https://wiki.debian.org/Hardening
-export DPKG_EXPORT_BUILDFLAGS=1
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-include /usr/share/dpkg/buildflags.mk
+export DEB_BUILD_MAINT_OPTIONS   = hardening=+all
+export DEB_CFLAGS_MAINT_APPEND   = -Wall -pedantic
+export DEB_CPPFLAGS_MAINT_APPEND = -Wall -pedantic
+export DEB_LDFLAGS_MAINT_APPEND  = -Wl,--as-needed
 
 DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

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



More information about the debian-science-commits mailing list