Export hardening and build flags
authorAlexandre Mestiashvili <alex@biotec.tu-dresden.de>
Thu, 8 Sep 2016 09:40:13 +0000 (11:40 +0200)
committerAlexandre Mestiashvili <alex@biotec.tu-dresden.de>
Thu, 8 Sep 2016 11:27:32 +0000 (13:27 +0200)
debian/rules

index 83ce6ddde3029b3a7046bef37581381dfc8087b8..df91a8744011a51c9bc7eb47465da2a1daf191d6 100755 (executable)
@@ -1,5 +1,9 @@
 #!/usr/bin/make -f
 
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
 %:
        dh $@