Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Sep 2006 18:21:51 +0400
From:      Ruslan Ermilov <ru@FreeBSD.org>
To:        Warner Losh <imp@FreeBSD.org>, src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/share/mk bsd.lib.mk bsd.own.mk bsd.prog.mk
Message-ID:  <20060911142151.GC13231@rambler-co.ru>
In-Reply-To: <20060911125754.GD91135@fasolt.home.paeps.cx>
References:  <200609110535.k8B5ZvHG070497@repoman.freebsd.org> <20060911125754.GD91135@fasolt.home.paeps.cx>

next in thread | previous in thread | raw e-mail | index | archive | help

--ghzN8eJ9Qlbqn3iT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Mon, Sep 11, 2006 at 02:57:54PM +0200, Philip Paeps wrote:
> On 2006-09-11 05:35:57 (+0000), Warner Losh <imp@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.
> >  =20
> >   # Where do I document this?
>=20
> How about in the comment of src/Makefile[.inc1] where all the other tople=
vel
> flags are documented?
>=20
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,
--=20
Ruslan Ermilov
ru@FreeBSD.org
FreeBSD committer

--ghzN8eJ9Qlbqn3iT
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (FreeBSD)

iD8DBQFFBXD/qRfpzJluFF4RAtUBAJ9rMeT+/xT3SQtUhjZU1G8kMnBKiQCcCYXi
ftNA7KOPJ+XVI/1ecQBCcCI=
=UBK1
-----END PGP SIGNATURE-----

--ghzN8eJ9Qlbqn3iT--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060911142151.GC13231>