debian: enable build hardening flags

This commit is contained in:
Kamal Mostafa 2012-08-20 14:09:33 -07:00
parent 8c23532836
commit 3a26594c4b
1 changed files with 2 additions and 0 deletions

2
debian/rules vendored
View File

@ -18,6 +18,8 @@ ifneq (linux,$(DEB_HOST_ARCH_OS))
configure_flags += --without-alsa
endif
# enable hardening flags (for debian/compat<9):
configure_flags += $(shell f=`dpkg-buildflags --export=configure` && echo $$f)
override_dh_auto_configure:
dh_auto_configure -- $(configure_flags)