[tinyows] 09/10: Enable all hardening buildflags.
Bas Couwenberg
sebastic at debian.org
Tue Oct 4 14:22:26 UTC 2016
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository tinyows.
commit f2acec4615601dda8b53766640dd367b1752ca05
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Tue Oct 4 16:08:17 2016 +0200
Enable all hardening buildflags.
---
debian/changelog | 1 +
debian/rules | 3 +++
2 files changed, 4 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 601a460..9f33709 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ tinyows (1.1.1-3) UNRELEASED; urgency=medium
pulled in via dh-autoreconf already.
* Drop obsolete dpkg-dev (>= 1.16.1.1) build dependency.
* Drop libxml2 build dependency, pulled in via libxml2-dev already.
+ * Enable all hardening buildflags.
-- Bas Couwenberg <sebastic at debian.org> Tue, 16 Feb 2016 23:43:54 +0100
diff --git a/debian/rules b/debian/rules
index 7c8a541..8119a05 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,6 +7,9 @@
# This has to be exported to make some magic below work.
export DH_OPTIONS
+# Enable hardening build flags
+export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+
# Append hardening buildflags to CFLAGS, only one used by the build system.
CFLAGS += $(LDFLAGS)
CFLAGS += $(CPPFLAGS)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/tinyows.git
More information about the Pkg-grass-devel
mailing list