add hardening flags

This commit is contained in:
Leo Antunes
2016-10-08 14:32:05 +02:00
parent 197eb24d24
commit 848daeab94
+5
View File
@@ -1,5 +1,10 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed,--no-undefined,--no-add-needed
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
%:
dh $@ --with autotools-dev --with systemd