]> git.pld-linux.org Git - packages/asterisk.git/commitdiff
support for MALLOC_DEBUG added
authorJacek Konieczny <j.konieczny@eggsoft.pl>
Thu, 30 Mar 2017 13:01:42 +0000 (15:01 +0200)
committerJacek Konieczny <j.konieczny@eggsoft.pl>
Thu, 30 Mar 2017 13:01:42 +0000 (15:01 +0200)
asterisk.spec

index 771ec81bcb43a3c57ea6257cd362bce5c22e5143..7d548e4aa090c32d565df305935d8036b4011b23 100644 (file)
@@ -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
 
This page took 0.174647 seconds and 4 git commands to generate.