summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@debian.org>2021-10-05 12:38:02 +0100
committerSimon McVittie <smcv@debian.org>2021-10-05 12:38:15 +0100
commitffe708b641199fa9ffae4c75b99a7a47b5a57003 (patch)
tree445fdc4cef4c78bc4c29d7b7f10315e9141c083c
parentb3347e5049aad190f943f7e742414049cdf9118c (diff)
Avoid explicitly specifying -Wl,--as-needed linker flag
This is the default for current toolchains. 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
-rwxr-xr-xdebian/rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules
index 6b18c191..086d3fe0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,7 +1,7 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1 -Wl,--as-needed
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,-O1
%:
dh $@ --with gir,gnome