I think debian has its own rules file for generating the make command.
Better change the Makefile.defs and set MEMDBG=1 inside it.
Cheers,
Daniel
On 10/2/12 3:31 PM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
It is what MEMDBG=1 does, adds some compile flags
and removes others.
is there something i would need to remove?
Have you tried make proper?
i made each
time debian package from scratch, i.e., my script copies
source tree from git to an empty directory and then issues command to
build the package. i thus don't see why i would need to issue 'make
proper'. the result is that MEMDBG=1 does not set DBG_QM_MALLOC.
when i include -DDBG_QM_MALLOC to CFLAGS, perhaps i would need to turn
off manually some other flags:
Compile flags: STATS: Off, USE_TCP, USE_TLS, USE_SCTP, TLS_HOOKS, USE_RAW_SOCKS,
USE_STUN, DISABLE_NAGLE, USE_MCAST, DNS_IP_HACK, SHM_MEM, SHM_MMAP, PKG_MALLOC, F_MALLOC,
DBG_QM_MALLOC, USE_FUTEX, FAST_LOCK-ADAPTIVE_WAIT, USE_DNS_CACHE, USE_DNS_FAILOVER,
USE_NAPTR, USE_DST_BLACKLIST, HAVE_RESOLV_RES
-- juha