add hardening flags

This commit is contained in:
Leo Antunes
2016-10-03 14:59:05 +02:00
parent c808032abf
commit 49e3f86395

5
debian/rules vendored
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