Set bindnow linker flag in debian/rules.
[debian/cdck.git] / debian / rules
index 4e0afc0f68ed87328fa4ad36a745a58c092d339b..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 autoreconf
-
-override_dh_auto_build:
-       dh_auto_build -- -j1
+       dh $@ --no-parallel
 
 override_dh_auto_install:
        dh_auto_install -- DESTDIR=$(CURDIR)/debian/cdck