[Pkg-voip-commits] [asterisk] 01/02: Build with -Wl,--as-needed

Bernhard Schmidt berni at moszumanska.debian.org
Thu Aug 17 18:52:15 UTC 2017


This is an automated email from the git hooks/post-receive script.

berni pushed a commit to branch master
in repository asterisk.

commit 162bdc405d36ed046218c3f087074481e6da3f56
Author: Bernhard Schmidt <berni at debian.org>
Date:   Thu Aug 17 20:35:36 2017 +0200

    Build with -Wl,--as-needed
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 1fe0d8e..597f9db 100755
--- a/debian/rules
+++ b/debian/rules
@@ -75,7 +75,7 @@ override_dh_autoreconf:
 override_dh_auto_configure:
 	chmod 755 $(CURDIR)/debian/dummyprogs/fetch
 	$(FETCH_ENV) ./configure			\
-		CFLAGS="-fgnu89-inline $(CFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" \
+		CFLAGS="-fgnu89-inline $(CFLAGS) $(CPPFLAGS)" LDFLAGS="$(LDFLAGS) -Wl,--as-needed" \
 		--host=$(DEB_HOST_GNU_TYPE)		\
 		--build=$(DEB_BUILD_GNU_TYPE)		\
 		--prefix=/usr				\

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/asterisk.git



More information about the Pkg-voip-commits mailing list