cvs commit: src/share/mk bsd.lib.mk bsd.own.mk bsd.prog.mk

Ruslan Ermilov ru at FreeBSD.org
Mon Sep 11 07:21:55 PDT 2006


On Mon, Sep 11, 2006 at 02:57:54PM +0200, Philip Paeps wrote:
> On 2006-09-11 05:35:57 (+0000), Warner Losh <imp at FreeBSD.org> wrote:
> >   Log:
> >   Add a knob for compiling the tree -DNDEBUG.  This turns off all the
> >   asserts and makes binaries smaller.  The binaries also become
> >   repeatable again.  As it was, without this md5's of binaries built
> >   with different paths differed.
> >   
> >   # Where do I document this?
> 
> How about in the comment of src/Makefile[.inc1] where all the other toplevel
> flags are documented?
> 
Here's how you'd do it (if you were to do it before I did):

# cd src/tools/build/options
# sh ./makeman > /dev/null
no description found for WITHOUT_ASSERT_DEBUG, skipping

Now you were supposed to:

- Add the WITHOUT_ASSERT_DEBUG file with description.
- Re-run "sh ./makeman > foo"
- diff ../../../share/man/man5/src.conf.5 foo

If it looks sane:

# cvs add WITHOUT_ASSERT_DEBUG
# cvs commit WITHOUT_ASSERT_DEBUG
# sh ./makeman > ../../../share/man/man5/src.conf.5
# cd ../../../share/man/man5/
# cvs commit -m "Regen." src.conf.5


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/20060911/8f08b4e5/attachment.pgp


More information about the cvs-src mailing list