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
1 year, 6 months ago
2 | 2 |
* Bump debhelper from old 12 to 13.
|
3 | 3 |
* Set upstream metadata fields: Repository-Browse.
|
4 | 4 |
* Update standards version to 4.6.1, no changes needed.
|
|
5 |
* Avoid explicitly specifying -Wl,--as-needed linker flag.
|
5 | 6 |
|
6 | 7 |
-- Debian Janitor <janitor@jelmer.uk> Wed, 02 Nov 2022 06:44:43 -0000
|
7 | 8 |
|
6 | 6 |
# see ENVIRONMENT in dpkg-buildflags(1)
|
7 | 7 |
# package maintainers to append CFLAGS
|
8 | 8 |
export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
9 | |
# package maintainers to append LDFLAGS
|
10 | |
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
11 | 9 |
|
12 | 10 |
%:
|
13 | 11 |
dh $@
|