From: Sebastian Harl Date: Thu, 17 May 2012 18:14:52 +0000 (+0200) Subject: rules: define and export DEB_BUILD_MAINT_OPTIONS hardening opts. X-Git-Tag: collectd-4.10.7-1~5 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=15937d73d260c37e6bd6b0dafbe81478a0851170;p=pkg-collectd.git rules: define and export DEB_BUILD_MAINT_OPTIONS hardening opts. --- diff --git a/debian/rules b/debian/rules index 2df30d9..3c9dee4 100755 --- a/debian/rules +++ b/debian/rules @@ -12,6 +12,8 @@ DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +export DEB_BUILD_MAINT_OPTIONS=hardening=+all + CPPFLAGS = `dpkg-buildflags --get CPPFLAGS` CPPFLAGS += -I$(CURDIR)/debian/include CFLAGS = `dpkg-buildflags --get CFLAGS`