d/rules: Re-enable -Wl,--as-needed

This commit is contained in:
Ryan Pavlik 2021-10-27 10:20:16 -05:00
parent 915773f6f9
commit be6290e4a6

2
debian/rules vendored
View file

@ -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