Avoid explicitly specifying -Wl,--as-needed linker flag.
authorAaron M. Ucko <ucko@debian.org>
Tue, 5 Sep 2023 02:36:36 +0000 (22:36 -0400)
committerAaron M. Ucko <ucko@debian.org>
Tue, 5 Sep 2023 02:39:43 +0000 (22:39 -0400)
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
debian/rules

index 423fe8cc3f50b55a8760d1c9aaad7e6f5c70ae45..8a2c3955d1f2c40d6ed7be65c061c7f8d5ab5c0f 100644 (file)
@@ -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 <ucko@debian.org>  Mon, 04 Sep 2023 22:35:34 -0400
 
index ef8b0e7f4068b0e6a2e4f77ae444b6dd8d7c541c..65213ec03bb05e68c36136712e6e32cfd9b751b9 100755 (executable)
@@ -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