[Pkg-wmaker-commits] [wmshutdown] 153/173: debian/rules: Append -Wl,--as-needed to LDFLAGS; avoids "useless dependency" warnings from dpkg-shlibdeps.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Tue Aug 25 02:46:51 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmshutdown.

commit b3d61b485cc041dcf0ffd06b13abdd805f672c1a
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Mon Nov 17 11:03:40 2014 -0600

    debian/rules: Append -Wl,--as-needed to LDFLAGS; avoids "useless dependency"
    warnings from dpkg-shlibdeps.
---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 4b308f2..dc91369 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 %:
 	dh $@ --with autoreconf

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmshutdown.git



More information about the Pkg-wmaker-commits mailing list