#!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS = hardening=+all %: dh $@ override_dh_auto_configure: # Upstream's configure summary echoes "C++ preprocessor flags ... : # $CPPFLAGS" which blhc misidentifies as a non-verbose compile. # Tell blhc to skip those summary lines via the embedded directive. @echo "blhc: ignore-line-regexp: .*preprocessor flags.*" @echo "blhc: ignore-line-regexp: .*compiler flags.*" @echo "blhc: ignore-line-regexp: .*Linker flags.*" dh_auto_configure -- \ --enable-test \ --docdir=/usr/share/doc/libjpcre2-dev