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
Anton Gladky
1 year, 11 months ago
3 | 3 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie |
4 | 4 | export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic -fPIC |
5 | 5 | export DEB_CXXFLAGS_MAINT_APPEND = -Wall -pedantic -fPIC |
6 | export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed | |
7 | 6 | |
8 | 7 | # See Bug-Debian #845279. |
9 | 8 | include /usr/share/dpkg/architecture.mk |