Set bindnow linker flag in debian/rules.
[debian/cdck.git] / debian / rules
index be14f55bed1a2a7dcc22c2cbf3742429255fa2da..c8b068aaafd228bef148736652ad4e8a18d35daf 100755 (executable)
@@ -1,13 +1,10 @@
 #!/usr/bin/make -f
 
 export CONFIG_SHELL=/bin/bash
+export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 
 %:
-       #dh $@ --with autotools_dev
-       dh $@ --with autoreconf
-
-override_dh_auto_build:
-       dh_auto_build -- -j1
+       dh $@ --no-parallel
 
 override_dh_auto_install:
        dh_auto_install -- DESTDIR=$(CURDIR)/debian/cdck