[SCM] serd/master: Avoid useless linking.

mira-guest at users.alioth.debian.org mira-guest at users.alioth.debian.org
Sun Jan 15 20:57:14 UTC 2017


The following commit has been merged in the master branch:
commit a2647f06b127b494803827b0d80435c9d24f79a4
Author: Jaromír Mikeš <mira.mikes at seznam.cz>
Date:   Sun Jan 15 21:40:56 2017 +0100

    Avoid useless linking.

diff --git a/debian/rules b/debian/rules
index 1adb86f..e212cc9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,8 +6,12 @@ pkg = $(shell dpkg-parsechangelog | sed -ne 's/^Source: //p')
 
 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
+export LINKFLAGS += $(LDFLAGS)
+
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
-LDFLAGS+=-Wl,--as-needed
+
 WAF = ./waf
 
 ifeq ($(shell dpkg-query -s doxygen graphviz 1>/dev/null 2>&1 && echo yes),yes)

-- 
serd packaging



More information about the pkg-multimedia-commits mailing list