From ad520e4e99a520027a7eeb6975b8eaf4d16d5e03 Mon Sep 17 00:00:00 2001 From: "Aaron M. Ucko" Date: Mon, 22 Jul 2024 23:24:09 -0400 Subject: [PATCH] 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. --- debian/changelog | 2 -- debian/rules | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) 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 -- 2.30.2