diff options
author | Matthew Vernon <matthew@debian.org> | 2014-01-05 16:48:20 +0000 |
---|---|---|
committer | Matthew Vernon <matthew@debian.org> | 2014-01-05 16:48:20 +0000 |
commit | 1fbe8b04284b92b17764abf760d42f4452c75464 (patch) | |
tree | 928085a3868662c9c1171b97bc47b5a9a36ea0ce | |
parent | d098687090e649132b596ed46bbb86c80295803e (diff) |
Add hardening flags
-rwxr-xr-x | debian/rules | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index dad6703..0c44678 100755 --- a/debian/rules +++ b/debian/rules @@ -7,7 +7,11 @@ package=xtrlock arch=$(shell dpkg --print-architecture) STRIP=strip -CFLAGS=-O2 -g -DSHADOW_PWD +DPKG_EXPORT_BUILDFLAGS = 1 +export DEB_BUILD_MAINT_OPTIONS = hardening=+all +include /usr/share/dpkg/buildflags.mk + +CFLAGS+=-DSHADOW_PWD build: $(checkdir) |