Avoid explicitly specifying -Wl,--as-needed linker flag.
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 Janitor
2 years ago
6 | 6 |
* Set upstream metadata fields: Bug-Database, Bug-Submit, Repository,
|
7 | 7 |
Repository-Browse.
|
8 | 8 |
* Update standards version to 4.6.0, no changes needed.
|
|
9 |
* Avoid explicitly specifying -Wl,--as-needed linker flag.
|
9 | 10 |
|
10 | 11 |
-- Debian Janitor <janitor@jelmer.uk> Fri, 04 Feb 2022 20:07:11 -0000
|
11 | 12 |
|
4 | 4 |
|
5 | 5 |
# see FEATURE AREAS in dpkg-buildflags(1)
|
6 | 6 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
7 | |
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
8 | 7 |
|
9 | 8 |
%:
|
10 | 9 |
dh $@ --buildsystem=cmake
|