[Pkg-voip-commits] [pjproject] 01/03: Build with -Wl, --as-needed, disable unnecessary 0006-Reduce-linkage-of-unused-libraries.patch
Bernhard Schmidt
berni at moszumanska.debian.org
Sun Aug 6 21:57:12 UTC 2017
This is an automated email from the git hooks/post-receive script.
berni pushed a commit to branch experimental-2.6
in repository pjproject.
commit a8ba303de1287e9376fc7d721bbe235b539563f8
Author: Bernhard Schmidt <berni at debian.org>
Date: Sun Aug 6 23:32:16 2017 +0200
Build with -Wl,--as-needed, disable unnecessary 0006-Reduce-linkage-of-unused-libraries.patch
Also disable 0001-Remove-pointless-linking-with-libasound.patch for now since
it breaks compilation (the libasound symbols are really used, and it is a hard
dependency of the only reverse-dep asterisk anyway
---
debian/patches/series | 4 ++--
debian/rules | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/debian/patches/series b/debian/patches/series
index a4e7717..eef2bc3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,9 +1,9 @@
-0001-Remove-pointless-linking-with-libasound.patch
+#0001-Remove-pointless-linking-with-libasound.patch
0002-Reduce-number-of-libraries-linked-with-pjlib.patch
0003-Reduce-number-of-libraries-linked-with-pjmedia.patch
0004-Enable-building-python-bindings.patch
0005-Remove-video-libs-dependency-for-pj-utils-and-pjnath.patch
-0006-Reduce-linkage-of-unused-libraries.patch
+#0006-Reduce-linkage-of-unused-libraries.patch
0007-add-v5-suffix-to-soname-of-libpjsua2-2.patch
asterisk/0019-Parse-zero-length-multipart-body-parts-correctly.patch
asterisk/0020-Ensure-2543-transaction-key-buffer-is-large-enough.patch
diff --git a/debian/rules b/debian/rules
index be1e0b2..d94d6db 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,8 @@ export CFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS; dpkg-buildflags --get CFL
#CXXFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS; dpkg-buildflags --get CXXFLAGS)
export LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS)
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
pybuild = pybuild -d pjsip-apps/src/python --pyver 2.7
# FIXME: the explicit and duplicate 'build' target is because of the
--
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