[Pkg-nagios-changes] [pkg-nsca] 16/25: Enable all hardening buildflags.

Bas Couwenberg sebastic at debian.org
Mon Dec 5 07:08:07 UTC 2016


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

sebastic pushed a commit to branch master
in repository pkg-nsca.

commit a3f5cf003c33c730faba6f0b342f96ba0852eab6
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Dec 4 21:12:35 2016 +0100

    Enable all hardening buildflags.
---
 debian/changelog | 1 +
 debian/rules     | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d6a0fff..809ac92 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -14,6 +14,7 @@ nsca (2.9.1-4) UNRELEASED; urgency=medium
   * Use dh-autoreconf for retooling.
   * Use dh_auto_configure instead of configure directly.
   * Add patch to fix spelling errors.
+  * Enable all hardening buildflags.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sun, 04 Dec 2016 00:04:22 +0100
 
diff --git a/debian/rules b/debian/rules
index 9b97de8..21567a3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,10 @@
 #!/usr/bin/make -f
 
+# Enable hardening build flags
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
+CFLAGS += $(CPPFLAGS)
+
 export AUTOHEADER=true
 
 %:

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



More information about the Pkg-nagios-changes mailing list