Set bindnow linker flag in debian/rules.
[debian/cdck.git] / debian / rules
index c97934c27922a3940e97dfb795d31caac52d9946..c8b068aaafd228bef148736652ad4e8a18d35daf 100755 (executable)
@@ -1,16 +1,11 @@
 #!/usr/bin/make -f
 
 export CONFIG_SHELL=/bin/bash
+export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 
 %:
-       dh $@
-
-override_dh_auto_build:
-       dh_auto_build -- -j1
+       dh $@ --no-parallel
 
 override_dh_auto_install:
        dh_auto_install -- DESTDIR=$(CURDIR)/debian/cdck
        rm -rf $(CURDIR)/debian/cdck/usr/lib
-
-get-orig-source:
-       uscan --repack --compression xz --verbose --force-download