debian/rules: Add --without-strip, disable reproducible=timeless.
authorAaron M. Ucko <ucko@debian.org>
Tue, 23 Jul 2024 03:24:09 +0000 (23:24 -0400)
committerAaron M. Ucko <ucko@debian.org>
Tue, 23 Jul 2024 03:31:32 +0000 (23:31 -0400)
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
debian/rules

index 325343e2897aff1866e4593f37099fc0c46e53dd..890c7d355f972bbf0033f3b8f332ad238e9e5cde 100644 (file)
@@ -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.
index 3fffe16836296e8aee69453e16310ef34092d1ba..c342c3483b67a6c31778e84f644d2e77a1ed46d7 100755 (executable)
@@ -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