[gweled] 55/72: Add --as-needed to linker flags
    Stephen Kitt 
    skitt at moszumanska.debian.org
       
    Thu May 26 16:55:49 UTC 2016
    
    
  
This is an automated email from the git hooks/post-receive script.
skitt pushed a commit to branch debian-sid
in repository gweled.
commit 4f4c625fbf49da33edd4859f05e3489841a4983d
Author: Ondřej Surý <ondrej at sury.org>
Date:   Mon Jan 24 14:12:35 2011 +0100
    Add --as-needed to linker flags
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index a5a27ff..07a8eb9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,12 +7,14 @@ export DH_OPTIONS
 
 export DEB_BUILD_HARDENING=1
 
+
+
 %:
 	dh --with quilt $@
 
 override_dh_auto_configure:
 	autoreconf
-	dh_auto_configure -- --bindir=\$${prefix}/games --localstatedir=/var
+	dh_auto_configure -- --bindir=\$${prefix}/games --localstatedir=/var LDFLAGS="-Wl,-z,defs -Wl,--as-needed" 
 
 override_dh_auto_install:
 	dh_auto_install
-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/gweled.git
    
    
More information about the Pkg-games-commits
mailing list