From 3a26594c4bab58f8daf99c781ae910748d79db54 Mon Sep 17 00:00:00 2001 From: Kamal Mostafa Date: Mon, 20 Aug 2012 14:09:33 -0700 Subject: [PATCH] debian: enable build hardening flags --- debian/rules | 2 ++ 1 file changed, 2 insertions(+) diff --git a/debian/rules b/debian/rules index 725319c..015fa2a 100755 --- a/debian/rules +++ b/debian/rules @@ -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)