summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/control1
-rwxr-xr-xdebian/rules2
2 files changed, 3 insertions, 0 deletions
diff --git a/debian/control b/debian/control
index 1982744..474a0df 100644
--- a/debian/control
+++ b/debian/control
@@ -4,6 +4,7 @@ Priority: optional
Maintainer: Benjamin Barenblat <bbaren@mit.edu>
Build-Depends:
debhelper (>= 9),
+ hardening-wrapper,
libssl-dev
Standards-Version: 3.9.6
Homepage: http://zvrba.net/software/secpwgen.html
diff --git a/debian/rules b/debian/rules
index 41532ae..131c822 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,8 @@
#!/usr/bin/make -f
# -*- makefile -*-
+export DEB_BUILD_HARDENING=1
+
# Avoid overlinking and reduce library dependencies.
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed