From 4babd4785e63f4de71143c0c78d458f8a5794d9e Mon Sep 17 00:00:00 2001 From: Keegan McAllister Date: Tue, 17 Apr 2012 01:54:31 -0400 Subject: [PATCH] Disable dpkg-based setting of stack protector flags Through Autoconf we set hardening flags that are actually more aggressive than the Ubuntu defaults, but they conflict with same. --- debian/rules | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/debian/rules b/debian/rules index 9a90c54..58d96ae 100755 --- a/debian/rules +++ b/debian/rules @@ -9,6 +9,10 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +# Through Autoconf we set hardening flags that are actually more aggressive +# than the Ubuntu defaults, but they conflict with same. +export DEB_BUILD_HARDENING_STACKPROTECTOR=0 + %: dh $@ --with autoreconf