Set bindnow linker flag in debian/rules.
[debian/cdck.git] / debian / rules
index d0d29b3e74ac01fca149a76329b1ce61e82754b3..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