commit | 9aeb7d4f5703a97296331fb2eddf76cf3aa3a933 | [log] [tgz] |
---|---|---|
author | Konstantin Pavlov <thresh@nginx.com> | Wed Sep 21 18:00:48 2016 +0300 |
committer | Konstantin Pavlov <thresh@nginx.com> | Wed Sep 21 18:00:48 2016 +0300 |
tree | d81d5d0b3b3dc8dd7ca0c14e6340647297ebd741 | |
parent | 6ef537913c47f9e05a2b420a2abbcdaf8f676977 [diff] |
debian: enable hardening flags, except PIE. Enabling PIE currently results in the inability to build dynamic modules.
diff --git a/debian/rules b/debian/rules index 09294c5..5068fdb 100755 --- a/debian/rules +++ b/debian/rules
@@ -2,6 +2,8 @@ #export DH_VERBOSE=1 +export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie + DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk