From be6290e4a68a11fe7aa6384e760e22d3e12603db Mon Sep 17 00:00:00 2001 From: Ryan Pavlik Date: Wed, 27 Oct 2021 10:20:16 -0500 Subject: [PATCH] d/rules: Re-enable -Wl,--as-needed --- debian/rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/rules b/debian/rules index bef546558..a384fdee0 100755 --- a/debian/rules +++ b/debian/rules @@ -10,7 +10,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all reproducible=+all # see ENVIRONMENT in dpkg-buildflags(1) # package maintainers to append LDFLAGS # Not needed on Bullseye and newer -#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed include /usr/share/dpkg/architecture.mk