defs-dev.mk: Add (disabled) USE_MCHECK

- Add (disabled) USE_MCHECK
  - Add export MALLOC_CHECK_ = 3 to make double free's abort

Signed-off-by: Jan Lindemann <jan@jannet.de>
This commit is contained in:
Jan Lindemann 2012-11-16 16:14:29 +00:00 committed by Jan Lindemann
commit 1e59559904

View file

@ -222,6 +222,7 @@ PKG_CONFIGDIRMODE ?= $(CFGDIRMODE)
#USE_DMALLOC ?= true
#USE_EFENCE ?= true
#USE_VALGRIND ?= true
#USE_MCHECK ?= true # not thread-safe
#USE_MEMWATCH ?= true
#USE_MPATROL ?= true
#USE_PROFILER ?= true
@ -241,3 +242,6 @@ USE_COMPILER_DEBUG_OPTS ?= true
#USE_ASSERTIONS ?= false
BREAK_ABI ?= true
#INSTALL_HOME_BIN_WRAPPERS ?= true
export MALLOC_CHECK_ = 3