summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules14
1 files changed, 10 insertions, 4 deletions
diff --git a/debian/rules b/debian/rules
index e7fbeecb..87543ae7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,10 +2,13 @@
#export DH_VERBOSE=1
-include /usr/share/cdbs/1/rules/debhelper.mk
-include /usr/share/cdbs/1/class/autotools.mk
-include /usr/share/cdbs/1/rules/buildvars.mk
-include /usr/share/cdbs/1/rules/autoreconf.mk
+#include /usr/share/cdbs/1/rules/debhelper.mk
+#include /usr/share/cdbs/1/class/autotools.mk
+#include /usr/share/cdbs/1/rules/buildvars.mk
+#include /usr/share/cdbs/1/rules/autoreconf.mk
+
+# hardening
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
ifneq ($(findstring $(DEB_BUILD_ARCH), mips mipsel),)
CFLAGS += -mplt
@@ -16,3 +19,6 @@ DEB_CONFIGURE_EXTRA_FLAGS := --disable-Werror \
DEB_DH_INSTALL_ARGS := --sourcedir=$(DEB_DESTDIR)
DEB_MAKE_CHECK_TARGET = check
+
+%:
+ dh $@ --with autoreconf