From 2dec42c58c7ad4ca75acccfe4ad803e3a2db91e6 Mon Sep 17 00:00:00 2001 From: "Aaron M. Ucko" Date: Mon, 4 Sep 2023 22:36:36 -0400 Subject: [PATCH] Avoid explicitly specifying -Wl,--as-needed linker flag. Changes-By: lintian-brush Fixes: lintian: debian-rules-uses-as-needed-linker-flag See-also: https://lintian.debian.org/tags/debian-rules-uses-as-needed-linker-flag.html --- debian/changelog | 1 + debian/rules | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 423fe8cc..8a2c3955 100644 --- a/debian/changelog +++ b/debian/changelog @@ -8,6 +8,7 @@ ncbi-blast+ (2.12.0+ds-4) UNRELEASED; urgency=medium * Standards-Version: 4.6.2 (routine-update) * Remove trailing whitespace in debian/changelog (routine-update) * Refer to common license file for Apache-2.0. + * Avoid explicitly specifying -Wl,--as-needed linker flag. -- Aaron M. Ucko Mon, 04 Sep 2023 22:35:34 -0400 diff --git a/debian/rules b/debian/rules index ef8b0e7f..65213ec0 100755 --- a/debian/rules +++ b/debian/rules @@ -26,8 +26,6 @@ DEB_CONFIGURE_EXTRA_FLAGS += --with-symbols #export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie export DEB_BUILD_MAINT_OPTIONS=hardening=+all,-pie export DEB_CFLAGS_MAINT_APPEND=-Wall -pedantic -# Kept for the sake of backports, which can't rely on GCC 9+. -export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed include /usr/share/dpkg/architecture.mk include /usr/share/dpkg/buildflags.mk -- 2.30.2