[SCM] chromaprint/master: Build with -Wl,--as-needed

sramacher at users.alioth.debian.org sramacher at users.alioth.debian.org
Wed Dec 28 11:24:36 UTC 2016


The following commit has been merged in the master branch:
commit ab30d602cc37910dcb9a2252fe820f86ec3a65ac
Author: Sebastian Ramacher <sramacher at debian.org>
Date:   Wed Dec 28 12:15:48 2016 +0100

    Build with -Wl,--as-needed

diff --git a/debian/rules b/debian/rules
index 24723f2..07a57ef 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,6 +2,8 @@
 # -*- makefile -*-
 # export DH_VERBOSE=1
 
+export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
+
 CONFIGURE_FLAGS  = -DBUILD_TOOLS=ON
 CONFIGURE_FLAGS += -DBUILD_SHARED_LIBS=ON
 CONFIGURE_FLAGS += -DLIB_SUFFIX="/$(DEB_HOST_MULTIARCH)"

-- 
packaging for chromaprint, an audio fingerprinting library



More information about the pkg-multimedia-commits mailing list