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
5 | 5 |
default.
|
6 | 6 |
* Set debhelper-compat version in Build-Depends.
|
7 | 7 |
* Set upstream metadata fields: Repository, Repository-Browse.
|
|
8 |
* Avoid explicitly specifying -Wl,--as-needed linker flag.
|
8 | 9 |
|
9 | 10 |
-- Debian Janitor <janitor@jelmer.uk> Thu, 04 Nov 2021 05:45:57 -0000
|
10 | 11 |
|
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 $@
|