From 3f6345d428841751bc8e036f446fb927486af5d8 Mon Sep 17 00:00:00 2001 From: Nicholas Guriev Date: Wed, 29 Jun 2022 11:57:22 +0300 Subject: [PATCH] debian/rules: remove the -Wl,--as-needed linker flag It is on by default since bullseye. Fixes the 'debian-rules-uses-as-needed-linker-flag' Lintian tag. --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index 40a7404..a48eb45 100755 --- a/debian/rules +++ b/debian/rules @@ -2,7 +2,7 @@ # -*- makefile -*- export DEB_BUILD_MAINT_OPTIONS = hardening=+all -export DEB_LDFLAGS_MAINT_APPEND = -Wl,-Bsymbolic-functions -Wl,--as-needed +export DEB_LDFLAGS_MAINT_APPEND = -Wl,-Bsymbolic-functions %: dh $@ -- 2.1.4