Browse Source

Enable hardened build flags. Closes: #664984

Christoph Biedl 12 years ago
parent
commit
31f23de030
2 changed files with 3 additions and 0 deletions
  1. 1 0
      debian/control
  2. 2 0
      debian/rules

+ 1 - 0
debian/control

@@ -7,6 +7,7 @@ Uploaders: Mario Iseli <mario@debian.org>, Matt Arnold <mattarnold5@gmail.com>,
 Build-Depends: debhelper (>= 7.0.50~),
     autotools-dev,
     expect,
+    hardening-wrapper,
     libgnutls-dev,
     po-debconf,
     procps,

+ 2 - 0
debian/rules

@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+export DEB_BUILD_HARDENING=1
+
 override_dh_auto_configure:
 	dh_auto_configure -- \
 	    --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \