From d2c42029b98c665725768b891aa877eb3267664f Mon Sep 17 00:00:00 2001
From: Andrei Karas <akaras@inbox.ru>
Date: Tue, 24 May 2011 00:38:44 +0300
Subject: Add simple memory leak detector. Can be enabled by configure option
 -enable-memdebug=yes.

Known issue: not all memory allocations hooked with it.
---
 bmake | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'bmake')

diff --git a/bmake b/bmake
index b3df348b7..c9c6d83c8 100755
--- a/bmake
+++ b/bmake
@@ -38,7 +38,8 @@ autoreconf -i
 ./configure --prefix=$dir/run \
 --datadir=$dir/run/share/games \
 --bindir=$dir/run/bin \
---mandir=$dir/run/share/man
+--mandir=$dir/run/share/man \
+--enable-memdebug=no
 
 cd po
 #make -j5 update-po 2>../make1.log
-- 
cgit v1.2.3-70-g09d2