X-Git-Url: https://git.distorted.org.uk/~mdw/catacomb/blobdiff_plain/6000faf9d7b1ec7758194d68a2ff68705a8e4825..91500ba6aa3433232eb5f5711e35521b7c184d05:/debian/rules diff --git a/debian/rules b/debian/rules index cec98bbe..a7ae1b01 100755 --- a/debian/rules +++ b/debian/rules @@ -1,2 +1,8 @@ #! /usr/bin/make -f -%:; dh $@ --parallel -Bdebian/build +DH_OPTIONS = --parallel -Bdebian/build +%:; dh $@ $(DH_OPTIONS) + +## Test both with and without CPU-specific optimizations. +override_dh_auto_test: + dh_auto_test $(DH_OPTIONS) + CATACOMB_CPUFEAT="-*" dh_auto_test $(DH_OPTIONS)