use -DAALLOC_TRACK in MirOS-current but not releases, similar to

-DMKSH_AFREE_DEBUG, which is even similar in functionality

cost 412 code, 32 bss
This commit is contained in:
tg 2008-11-12 07:38:42 +00:00
parent d099b00b53
commit 255c77ff32

View File

@ -1,4 +1,4 @@
# $MirOS: src/bin/mksh/Makefile,v 1.67 2008/11/12 07:36:18 tg Exp $
# $MirOS: src/bin/mksh/Makefile,v 1.68 2008/11/12 07:38:42 tg Exp $
#-
# use CPPFLAGS=-DDEBUG __CRAZY=Yes to check for certain more stuff
@ -10,6 +10,7 @@ SRCS= aalloc.c edit.c eval.c exec.c expr.c funcs.c histrap.c \
.if !make(test-build)
. if ${DEBUGLIBS:L} == "yes"
CPPFLAGS+= -DMKSH_AFREE_DEBUG # MirOS development version
CPPFLAGS+= -DAALLOC_TRACK # MirOS development version
. endif
CPPFLAGS+= -DAALLOC_NO_COOKIES # for now… aalloc cookies are broken
CPPFLAGS+= -DMKSH_ASSUME_UTF8 \