diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-11 21:24:54 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-05-11 21:24:54 +0000 |
commit | d59e49c0b52305f24ea269da93737e5635a6ed3b (patch) | |
tree | f2388afe5f99d83b140c19d87f2449b67a4eac05 | |
parent | fd6a5e2bdd5f646f5d6891ff6eef7a2a72976df6 (diff) |
fix the build with astmm (issue #7139)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@27023 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | Makefile | 2 | ||||
-rwxr-xr-x | build_tools/make_buildopts_h | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -191,7 +191,7 @@ OTHER_SUBDIR_CFLAGS=-include ../include/autoconfig.h -I../include -I.. # *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 diff --git a/build_tools/make_buildopts_h b/build_tools/make_buildopts_h index f4db2a687..cca179925 100755 --- a/build_tools/make_buildopts_h +++ b/build_tools/make_buildopts_h @@ -9,5 +9,5 @@ cat << END 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 |