[SCM] gnome-mplayer/master: Build with -Wl, --as-need to get rid of some dependencies.

sramacher-guest at users.alioth.debian.org sramacher-guest at users.alioth.debian.org
Sun Apr 29 20:38:14 UTC 2012


The following commit has been merged in the master branch:
commit 9d284a94d6ac9410a96d793c1e54d51dcbc90810
Author: Sebastian Ramacher <s.ramacher at gmx.at>
Date:   Sun Apr 29 22:37:11 2012 +0200

    Build with -Wl,--as-need to get rid of some dependencies.

diff --git a/debian/changelog b/debian/changelog
index df6d042..0d03c47 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,8 +11,9 @@ gnome-mplayer (1.0.6-1) UNRELEASED; urgency=low
   * debian/patches: Add fix-errors-with-hardening-flags.patch to fix build
     error with hardening flags enabled.
   * debian/copyright: Update Format URL.
+  * debian/rules: Build with -Wl,--as-needed to get rid of some dependencies.
 
- -- Sebastian Ramacher <s.ramacher at gmx.at>  Sun, 29 Apr 2012 19:55:16 +0200
+ -- Sebastian Ramacher <s.ramacher at gmx.at>  Sun, 29 Apr 2012 22:36:25 +0200
 
 gnome-mplayer (1.0.5-1) unstable; urgency=low
 
diff --git a/debian/rules b/debian/rules
index ad5cfa1..509ae4b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
+
 %:
 	dh $@ 
 override_dh_auto_install:

-- 
gnome-mplayer packaging



More information about the pkg-multimedia-commits mailing list