[rbdoom3bfg] 01/02: Add --as-needed linking flag

Tobias Frost tobi at moszumanska.debian.org
Sun Jun 21 09:17:30 UTC 2015


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

tobi pushed a commit to branch master
in repository rbdoom3bfg.

commit f172940ff308ece243e740d6d4c77cac91620131
Author: Tobias Frost <tobi at coldtobi.de>
Date:   Sun Jun 21 11:16:40 2015 +0200

    Add --as-needed linking flag
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index fa677d2..744a635 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
 # output every command that modifies files on the build system.
 #DH_VERBOSE = 1
 
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
 DEB_BUILD_ARCH ?= $(shell dpkg-architecture -qDEB_BUILD_ARCH)
 
 CMAKE_ADDTIONAL_FLAGS ?=

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



More information about the Pkg-games-commits mailing list