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