diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2011-12-10 21:15:51 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2011-12-10 21:15:51 +0100 |
commit | 649257ad85839b9dd279a10e089d4375d2ecc567 (patch) | |
tree | 9100af4d530358a3fe4abddab1ec2273d4876b11 | |
parent | fb2ea1206f8c9cd5e76b8699569678db8ab07d15 (diff) |
enable more hardening options (-fPIE doesn't work yet because we use -fPIC in some places)
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1565 ef36b2f9-881f-0410-afb5-c4e39611909c
-rwxr-xr-x | debian/rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 2a90740..26f783d 100755 --- a/debian/rules +++ b/debian/rules @@ -5,6 +5,9 @@ export DH_VERBOSE=1 # multiarch support DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH) +# enable hardening options (we disable pie because it conflicts with -fPIC) +export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie + %: dh $@ |