[Pkg-voip-commits] [pjproject] 20/28: rules: link with --as-needed
tzafrir at debian.org
tzafrir at debian.org
Mon Dec 21 06:05:52 UTC 2015
This is an automated email from the git hooks/post-receive script.
tzafrir pushed a commit to branch master-broken-2
in repository pjproject.
commit a4fcee15ceb9adeca66825b148407289744c40d6
Author: Tzafrir Cohen <tzafrir at debian.org>
Date: Mon Dec 7 07:42:56 2015 +0200
rules: link with --as-needed
---
debian/rules | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/rules b/debian/rules
index 3049a91..34c751b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,6 +4,7 @@ export CFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS; dpkg-buildflags --get CFL
# export _CXXFLAGS includes $(_CFLAGS)
#CXXFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS; dpkg-buildflags --get CXXFLAGS)
export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+export DEB_LDFLAGS_MAINT_PREPEND := -Wl,-z,defs -Wl,--as-needed
pybuild = pybuild -d pjsip-apps/src/python --pyver 2.7
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-voip/pjproject.git
More information about the Pkg-voip-commits
mailing list