[Pkg-wmaker-commits] [wmgtemp] 08/15: debian/rules: Append "-Wl, --as-needed" to LDFLAGS to avoid useless dependencies.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Feb 2 18:07:59 UTC 2017


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

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

commit 441be9f71a4f6d29ac947bf4e7e9b21c545cd440
Author: Doug Torrance <dtorrance at piedmont.edu>
Date:   Thu Feb 2 10:42:16 2017 -0500

    debian/rules: Append "-Wl,--as-needed" to LDFLAGS
    to avoid useless dependencies.
---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index 63844c9..fad9b57 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+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/wmgtemp.git



More information about the Pkg-wmaker-commits mailing list