From: Jacek Konieczny Date: Thu, 30 Mar 2017 13:01:42 +0000 (+0200) Subject: support for MALLOC_DEBUG added X-Git-Tag: auto/th/asterisk-13.14.0-2~5 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fasterisk.git;a=commitdiff_plain;h=503bf64 support for MALLOC_DEBUG added --- 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