[cube2font] 14/18: Use --as-needed to avoid unnecessary linkage

Martin Werner arand-guest at moszumanska.debian.org
Fri Apr 24 12:33:59 UTC 2015


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

arand-guest pushed a commit to branch master
in repository cube2font.

commit 0e5219cad34a2872d07bef8d2a7893f3c312fed0
Author: Martin Erik Werner <martinerikwerner at gmail.com>
Date:   Fri Apr 24 14:17:37 2015 +0200

    Use --as-needed to avoid unnecessary linkage
---
 debian/rules | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/rules b/debian/rules
index e54e984..80f42d3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -13,6 +13,7 @@ override_dh_auto_clean:
 override_dh_auto_build:
 	dh_auto_build -- \
 		CXXFLAGS="$(CXXFLAGS) $(CPPFLAGS) -ffast-math" \
+		LDFLAGS="$(LDFLAGS) -Wl,--as-needed" \
 		appnamefull="" \
 		appversion="" \
 		weapon-names="" \

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



More information about the Pkg-games-commits mailing list