[SCM] terminatorx/master: Compile with --as-needed.
alessio at users.alioth.debian.org
alessio at users.alioth.debian.org
Mon Apr 2 00:07:14 UTC 2012
The following commit has been merged in the master branch:
commit 0fc4c77a9181bb7e826f055c30bc734aa914b65c
Author: Alessio Treglia <alessio at debian.org>
Date: Mon Apr 2 02:06:59 2012 +0200
Compile with --as-needed.
diff --git a/debian/rules b/debian/rules
index ae286c3..c8ad1a1 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,9 +15,15 @@ ifeq (linux,$(DEB_HOST_ARCH_OS))
EXTRA_CONFIGURE := --enable-capabilities
endif
+LDFLAGS += -Wl,--as-needed
+export LDFLAGS
+
%:
dh $@ --parallel --with autoreconf
+override_dh_autoreconf:
+ dh_autoreconf --as-needed
+
override_dh_auto_configure:
dh_auto_configure -- \
--enable-mpg123=/usr/bin/mpg321 \
--
terminatorx packaging
More information about the pkg-multimedia-commits
mailing list