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

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Wed Mar 9 16:18:23 UTC 2011


The following commit has been merged in the master branch:
commit 0a0a96dfb0f633b26c3e6566923be7dad4eda4e8
Author: Alessio Treglia <alessio at debian.org>
Date:   Wed Mar 9 17:15:34 2011 +0100

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

diff --git a/debian/rules b/debian/rules
index ab6f376..0625209 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,7 @@
 #export DH_VERBOSE=1
 
 CFLAGS = -Wall -g
+LDFLAGS+=-Wl,--as-needed
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
 	CFLAGS += -O0

-- 
freecycle packaging



More information about the pkg-multimedia-commits mailing list