cvs commit: src/sbin/restore Makefile

Ruslan Ermilov ru at FreeBSD.org
Thu Mar 31 07:00:46 PST 2005


On Thu, Mar 31, 2005 at 12:42:23PM +0200, Dag-Erling Sm?rgrav wrote:
> Ruslan Ermilov <ru at FreeBSD.org> writes:
> > You usually do this without modifying a makefile, like this:
> >
> > # make DEBUG_FLAGS=-g
> 
> Even better, put
> 
> DEBUG_FLAGS             ?= -g
> STRIP                    = # empty
> 
> in /etc/make.conf, and your system will always be ready to debug.
> 
The STRIP= is not necessary.  From bsd.prog.mk:

.if !defined(DEBUG_FLAGS)
STRIP?= -s
.endif


Cheers,
-- 
Ruslan Ermilov
ru at FreeBSD.org
FreeBSD committer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20050331/a467bd58/attachment.bin


More information about the cvs-src mailing list