[gweled] 06/06: Add --as-needed to linker flags

Stephen Kitt skitt at moszumanska.debian.org
Thu May 26 16:56:53 UTC 2016


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

skitt pushed a commit to annotated tag debian/0.9-1
in repository gweled.

commit e5d9b3b0fc9ca0c8365dbc708e7efece576507db
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