On Mon, Jun 30, 2008 at 06:27:17PM +0800, Yu Xiangning wrote:
> Hi mdb gurus,
> 
> While compiling the mdb modules with DEBUG mode, we found that -DDEBUG
> is not passed to the compiler.
> 
> To fix this, we have to add a line manually to
> usr/src/cmd/mdb/Makefile.module:
> 
> $(NOT_RELEASE_BUILD)CPPFLAGS += -DDEBUG
> 
> So I'm a bit confused, shouldn't we always pass DEBUG to the compiler
> while doing a debug build?
> 
> - yxn

Just go ahead and put that back -- that is used in Makefile.mdb but
likely no one needed it in Makefile.module before.
That's a generally good change.

-Mike

-- 
Mike Shapiro, Sun Microsystems Fishworks. blogs.sun.com/mws/

Reply via email to