From: Aaron M. Ucko Date: Tue, 23 Jul 2024 03:24:09 +0000 (-0400) Subject: debian/rules: Add --without-strip, disable reproducible=timeless. X-Git-Tag: archive/raspbian/2.16.0+ds-7+rpi1~1^2~50 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ad520e4e99a520027a7eeb6975b8eaf4d16d5e03;p=ncbi-blast%2B.git debian/rules: Add --without-strip, disable reproducible=timeless. Tune flags: Add --without-strip to make --with-symbols effective; switch off warnings from __DATE__/__TIME__ usage, since dpkg-buildpackage's SOURCE_DATE_EPOCH injection should suffice. --- diff --git a/debian/changelog b/debian/changelog index 325343e2..890c7d35 100644 --- a/debian/changelog +++ b/debian/changelog @@ -20,8 +20,6 @@ ncbi-blast+ (2.15.0+ds-1) UNRELEASED; urgency=medium - Regenerate configure and config.h.in with Autoconf 2.69. - Build against PCRE2, as enabled by debian/patches/allow_pcre2. (Closes: #891197.) - - Extend generated-sources cleanup to objtools/eutils (not entirely - straightforward due to input format variation). - Tune flags: Add --without-strip to make --with-symbols effective; switch off warnings from __DATE__/__TIME__ usage, since dpkg-buildpackage's SOURCE_DATE_EPOCH injection should suffice. diff --git a/debian/rules b/debian/rules index 3fffe168..c342c348 100755 --- a/debian/rules +++ b/debian/rules @@ -21,11 +21,11 @@ DEB_CONFIGURE_EXTRA_FLAGS=$(DEB_CONFIGURE_COMMON_FLAGS) --with-dll --with-mt \ proj=algo/blast/ app/ objmgr/ objtools/align_format/ objtools/blast/ #ifneq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) -DEB_CONFIGURE_EXTRA_FLAGS += --with-symbols +DEB_CONFIGURE_EXTRA_FLAGS += --without-strip --with-symbols #endif #export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie -export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie +export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie reproducible=-timeless export DEB_CFLAGS_MAINT_APPEND=-Wall -pedantic include /usr/share/dpkg/architecture.mk