Code

rules: define and export DEB_BUILD_MAINT_OPTIONS hardening opts.
authorSebastian Harl <sh@tokkee.org>
Thu, 17 May 2012 18:14:52 +0000 (20:14 +0200)
committerSebastian Harl <sh@tokkee.org>
Thu, 17 May 2012 18:14:52 +0000 (20:14 +0200)
debian/rules

index 2df30d93620a9997738175723e74fd917ced6d41..3c9dee40e24c24cc446bc2f8e9342892b6508d4e 100755 (executable)
@@ -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`