[SCM] guitarix/master: Add -Wl, --as-needed to LDFLAGS, fixes overlinked ELF files

viccuad-guest at users.alioth.debian.org viccuad-guest at users.alioth.debian.org
Tue Mar 29 23:24:50 UTC 2016


The following commit has been merged in the master branch:
commit 48e3facf2bc0e0e2f3ba3f184a8b2adafb0ec83a
Author: Víctor Cuadrado Juan <me at viccuad.me>
Date:   Wed Mar 30 01:23:46 2016 +0200

    Add -Wl,--as-needed to LDFLAGS, fixes overlinked ELF files

diff --git a/debian/rules b/debian/rules
index fb3c12d..4c5c2e5 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,7 +9,7 @@ override_dh_auto_configure:
 	./waf configure --prefix=/usr --no-faust \
 		--cxxflags="$(shell dpkg-buildflags --get CXXFLAGS) \
 			$(shell dpkg-buildflags --get CPPFLAGS)" \
-		--ldflags="$(shell dpkg-buildflags --get LDFLAGS)" -v \
+		--ldflags="$(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed" -v \
 		--shared-lib --lib-dev --glade-support
 
 override_dh_auto_build-arch:

-- 
guitarix packaging



More information about the pkg-multimedia-commits mailing list