summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorSimon Kelley <simon@thekelleys.org.uk>2017-04-16 22:45:53 +0100
committerSimon Kelley <simon@thekelleys.org.uk>2017-04-16 22:45:53 +0100
commita24c31e02398aa5381d89f9a0f2f0a7ab4bc8695 (patch)
treefa1842bc02eb5557083ac69643c833100c0964e3 /debian/rules
parentf5a3679f1dc15c24021c49f34202dcb3e9dd1d76 (diff)
downloaddnsmasq-a24c31e02398aa5381d89f9a0f2f0a7ab4bc8695.tar.gz
Debian: enable PIE and BINDNOW hardening in build.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 378c651..fc0dcf4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,7 +11,7 @@
package=dnsmasq-base
-dpkg_buildflags := DEB_BUILD_MAINT_OPTIONS="hardening=+all" dpkg-buildflags
+dpkg_buildflags := DEB_BUILD_MAINT_OPTIONS="hardening=+all,+pie,+bindnow" dpkg-buildflags
CFLAGS = $(shell $(dpkg_buildflags) --get CFLAGS)
CFLAGS += $(shell $(dpkg_buildflags) --get CPPFLAGS)