[asterisk-commits] trunk r27023 - in /trunk: Makefile build_tools/make_buildopts_h

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu May 11 14:24:54 MST 2006


Author: russell
Date: Thu May 11 16:24:54 2006
New Revision: 27023

URL: http://svn.digium.com/view/asterisk?rev=27023&view=rev
Log:
fix the build with astmm (issue #7139)

Modified:
    trunk/Makefile
    trunk/build_tools/make_buildopts_h

Modified: trunk/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/Makefile?rev=27023&r1=27022&r2=27023&view=diff
==============================================================================
--- trunk/Makefile (original)
+++ trunk/Makefile Thu May 11 16:24:54 2006
@@ -191,7 +191,7 @@
 
 #   *CLI> show memory allocations [filename]
 #   *CLI> show memory summary [filename]
-ifneq ($(findstring -DMALLOC_DEBUG,$(ASTCFLAGS)),)
+ifneq ($(findstring MALLOC_DEBUG,$(MENUSELECT_CFLAGS)),)
   TOPDIR_CFLAGS+=-include include/asterisk/astmm.h
   MOD_SUBDIR_CFLAGS+=-include ../include/asterisk/astmm.h
 endif

Modified: trunk/build_tools/make_buildopts_h
URL: http://svn.digium.com/view/asterisk/trunk/build_tools/make_buildopts_h?rev=27023&r1=27022&r2=27023&view=diff
==============================================================================
--- trunk/build_tools/make_buildopts_h (original)
+++ trunk/build_tools/make_buildopts_h Thu May 11 16:24:54 2006
@@ -9,5 +9,5 @@
 END
 TMP=`grep MENUSELECT_CFLAGS menuselect.makeopts | sed s/MENUSELECT_CFLAGS\=//g | sed s/-D//g`
 for x in ${TMP}; do
-     echo "#define ${x}"
+     echo "#define ${x} 1"
 done



More information about the asterisk-commits mailing list