Subject: Re: misc/3300: Allow compiling with debug options
To: None <>
From: Chris G. Demetriou <>
List: netbsd-bugs
Date: 03/08/1997 15:42:58
> >Description:
> As the /usr/share/mk macros currently stand, one cannot easily compile
> and install NetBSD binaries with debugging enabled.  The patch below
> adds DBG as a means of controlling the optimization/debug flags used.

Since is used by standard third-party Makefiles, you have to be
_VERY_ careful to avoid defining variables that they might want to use
in ways different than they'd normally use them.

I would therefore suggest avoiding this change.  If something like
this is desired for 'native' NetBSD binaries, something should be
added/changed in or the other bsd.*.mk Makefiles.

Third-party sources should be built into debugging executables in
whatever way the authors suggest/enforce in their Makefiles.