[SCM] vlc/experimental: Build with -Wl,--as-needed

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Sat Dec 20 23:50:06 UTC 2014


The following commit has been merged in the experimental branch:
commit 21bb3ecdcd78bff76205585c094e3a5973d83320
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Sat Nov 15 23:00:06 2014 +0100

    Build with -Wl,--as-needed

diff --git a/debian/rules b/debian/rules
index fa062cd..3965cbb 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,7 @@
 #!/usr/bin/make -f
 
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
+
 DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 DEB_HOST_ARCH      ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
 DEB_HOST_ARCH_CPU  ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU)

-- 
VLC media player packaging



More information about the pkg-multimedia-commits mailing list