debian/rules: Include buildflags.mk for DEB_BUILD_MAINT_OPTIONS

Otherwise that variable has no effect.
This commit is contained in:
Keegan McAllister
2012-04-17 04:07:19 -04:00
parent aa8c090823
commit 87f63967d6
+1
View File
@@ -12,6 +12,7 @@
# Through Autoconf we set hardening flags that are actually more aggressive # Through Autoconf we set hardening flags that are actually more aggressive
# than the Ubuntu defaults, but they conflict with same. # than the Ubuntu defaults, but they conflict with same.
export DEB_BUILD_MAINT_OPTIONS = hardening=-stackprotector export DEB_BUILD_MAINT_OPTIONS = hardening=-stackprotector
-include /usr/share/dpkg/buildflags.mk
%: %:
dh $@ --with autoreconf dh $@ --with autoreconf