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
Andreas Tille
1 year, 4 months ago
1 | 1 |
|
2 | 2 |
* Depends java-wrappers
|
3 | 3 |
Closes: #1015882
|
|
4 |
* Avoid explicitly specifying -Wl,--as-needed linker flag.
|
4 | 5 |
|
5 | 6 |
-- Andreas Tille <tille@debian.org> Sat, 03 Dec 2022 07:33:16 +0100
|
6 | 7 |
|
1 | 1 |
#export DH_VERBOSE=1
|
2 | 2 |
|
3 | 3 |
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
4 | |
export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
5 | 4 |
|
6 | 5 |
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
|
7 | 6 |
export JAVA_HOME=/usr/lib/jvm/default-java
|