Bug#959696: debian-rules-uses-as-needed-linker-flag and backports
Package: lintian
Version: 2.70.0
Severity: wishlist
lintian understandably reports about a no longer required
-Wl,--as-needed in bullseye. However, unless I'm mistaken, it's still
needed for building for buster-backports, so removing it has a side effect.
The cleanest solution would probably be to remove it, and to simply
re-add this flag during backporting, at the cost of manual intervention
(beyond dch --bpo, that is).
The pragmatic solution would be to just override the tag for packages
where a backport might be expected.
What would you recommend as a strategy to address this issue?
Reply to: