[SCM] libva/experimental: Build with -Wl,--as-needed
sramacher at users.alioth.debian.org
sramacher at users.alioth.debian.org
Mon Dec 15 19:05:25 UTC 2014
The following commit has been merged in the experimental branch:
commit fbba83bf43b6bfd514a78e9701bb259bab873bf5
Author: Sebastian Ramacher <sramacher at debian.org>
Date: Mon Dec 15 17:50:33 2014 +0100
Build with -Wl,--as-needed
diff --git a/debian/rules b/debian/rules
index 5e3a6ef..7c2b158 100755
--- a/debian/rules
+++ b/debian/rules
@@ -8,6 +8,8 @@ ifeq (,$(findstring linux,$(DEB_HOST_ARCH_OS)))
confflags += --disable-wayland
endif
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
+
%:
dh $@ --parallel --with autoreconf
--
libva packaging
More information about the pkg-multimedia-commits
mailing list