[packages/asterisk] support for MALLOC_DEBUG added
jajcus
jajcus at pld-linux.org
Thu Mar 30 15:02:06 CEST 2017
commit 503bf64f95d6dbe991d19aa25d5a1000ea096ed0
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Thu Mar 30 15:01:42 2017 +0200
support for MALLOC_DEBUG added
asterisk.spec | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/asterisk.spec b/asterisk.spec
index 771ec81..7d548e4 100644
--- a/asterisk.spec
+++ b/asterisk.spec
@@ -28,6 +28,7 @@
%bcond_without radius # build without Radius support
%bcond_without pjsip # build without PJSIP stack
%bcond_without opus_vp8 # build without Opus codec and VP8 passthrough
+%bcond_with malloc_debug # build with MALLOC_DEBUG
%bcond_without apidocs # disable apidocs building
%bcond_without verbose # verbose build
@@ -879,6 +880,10 @@ menuselect/menuselect --disable codec_opus_open_source --disable format_ogg_opus
menuselect/menuselect --enable app_voicemail menuselect.makeopts
+%if %{with malloc_debug}
+menuselect/menuselect --enable MALLOC_DEBUG
+%endif
+
# workaround for build failing with asterisk-devel not installed
ln -s libasteriskssl.so.1 ./main/libasteriskssl.so
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/asterisk.git/commitdiff/503bf64f95d6dbe991d19aa25d5a1000ea096ed0
More information about the pld-cvs-commit
mailing list