mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 04:43:50 +00:00
fix the build with astmm (issue #7139)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@27023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
2
Makefile
2
Makefile
@@ -191,7 +191,7 @@ OTHER_SUBDIR_CFLAGS=-include ../include/autoconfig.h -I../include -I..
|
|||||||
|
|
||||||
# *CLI> show memory allocations [filename]
|
# *CLI> show memory allocations [filename]
|
||||||
# *CLI> show memory summary [filename]
|
# *CLI> show memory summary [filename]
|
||||||
ifneq ($(findstring -DMALLOC_DEBUG,$(ASTCFLAGS)),)
|
ifneq ($(findstring MALLOC_DEBUG,$(MENUSELECT_CFLAGS)),)
|
||||||
TOPDIR_CFLAGS+=-include include/asterisk/astmm.h
|
TOPDIR_CFLAGS+=-include include/asterisk/astmm.h
|
||||||
MOD_SUBDIR_CFLAGS+=-include ../include/asterisk/astmm.h
|
MOD_SUBDIR_CFLAGS+=-include ../include/asterisk/astmm.h
|
||||||
endif
|
endif
|
||||||
|
@@ -9,5 +9,5 @@ cat << END
|
|||||||
END
|
END
|
||||||
TMP=`grep MENUSELECT_CFLAGS menuselect.makeopts | sed s/MENUSELECT_CFLAGS\=//g | sed s/-D//g`
|
TMP=`grep MENUSELECT_CFLAGS menuselect.makeopts | sed s/MENUSELECT_CFLAGS\=//g | sed s/-D//g`
|
||||||
for x in ${TMP}; do
|
for x in ${TMP}; do
|
||||||
echo "#define ${x}"
|
echo "#define ${x} 1"
|
||||||
done
|
done
|
||||||
|
Reference in New Issue
Block a user