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
1 | 1 |
|
2 | 2 |
* Use secure URI in Homepage field.
|
3 | 3 |
* Set debhelper-compat version in Build-Depends.
|
|
4 |
* Avoid explicitly specifying -Wl,--as-needed linker flag.
|
4 | 5 |
|
5 | 6 |
-- Debian Janitor <janitor@jelmer.uk> Fri, 10 Sep 2021 09:12:12 -0000
|
6 | 7 |
|
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 $@
|