Now also uses CHECK_MALLOC to enable memory checking instead of MALLOC_DEBUG
directly. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3529 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -5,11 +5,10 @@ SubDirHdrs $(OBOS_TOP) src add-ons kernel file_systems bfs ;
|
|||||||
|
|
||||||
|
|
||||||
{
|
{
|
||||||
# set MALLOC_DEBUG to something when doing tests against memory corruption
|
# set CHECK_MALLOC to something when doing tests against memory corruption
|
||||||
# (although this has the downside that "jam" is also debugged...)
|
|
||||||
local malloc_debug_defines ;
|
local malloc_debug_defines ;
|
||||||
local malloc_debug_flags ;
|
local malloc_debug_flags ;
|
||||||
if $(MALLOC_DEBUG) {
|
if $(CHECK_MALLOC) {
|
||||||
malloc_debug_defines = _NO_INLINE_ASM ;
|
malloc_debug_defines = _NO_INLINE_ASM ;
|
||||||
malloc_debug_flags = -fcheck-memory-usage ;
|
malloc_debug_flags = -fcheck-memory-usage ;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user