[SCM] intel-vaapi-driver/experimental: Build with -Wl,--as-needed

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Mon Dec 15 19:59:41 UTC 2014


The following commit has been merged in the experimental branch:
commit abe6a11899734b859eed5a1085f54651a05e78e8
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Mon Dec 15 20:13:31 2014 +0100

    Build with -Wl,--as-needed

diff --git a/debian/rules b/debian/rules
index 3310ea8..d9e0125 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,5 +1,8 @@
 #!/usr/bin/make -f
 
+export V=1
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
+
 %:
 	dh $@ --parallel --with autoreconf
 
@@ -8,6 +11,3 @@ override_dh_strip:
 
 override_dh_installchangelogs:
 	dh_installchangelogs NEWS
-
-override_dh_auto_build:
-	dh_auto_build -- V=1

-- 
intel-vaapi-driver packaging



More information about the pkg-multimedia-commits mailing list