[SCM] guayadeque/master: Pass -Wl,--as-needed to the linker.

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Wed Feb 9 12:49:11 UTC 2011


The following commit has been merged in the master branch:
commit 535e24cf89dea1615fa31970ac94cbe7a6419b2d
Author: Alessio Treglia <alessio at debian.org>
Date:   Wed Feb 9 13:48:37 2011 +0100

    Pass -Wl,--as-needed to the linker.

diff --git a/debian/rules b/debian/rules
index 7114b71..49fddb1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,7 @@
 DEBIAN_DIR := $(shell echo ${MAKEFILE_LIST} | awk '{print $$1}' | xargs dirname )
 UPSTREAM_VERSION ?=$(shell uscan --dehs | sed -n 's/.*<upstream-version>\(.*\)<\/upstream-version>.*/\1/p')
 PACKAGE = guayadeque
+LDFLAGS+=-Wl,--as-needed
 
 %:
 	dh $@ --buildsystem=cmake 

-- 
guayadeque packaging



More information about the pkg-multimedia-commits mailing list