/usr/obj is 11GB huge on FreeBSD 12-current

Dimitry Andric dim at FreeBSD.org
Wed Dec 27 15:48:47 UTC 2017

On 27 Dec 2017, at 16:39, Julian Elischer <julian at freebsd.org> wrote:
> On 16/12/17 2:39 am, Konstantin Belousov wrote:
>> Put the following into /etc/src.conf:
> This brings up two questions:
> when to use make.conf and when to use src.conf,

make.conf is for building everything, so ports, or your own programs.

src.conf is for building and installing /usr/src.  WITH_, WITHOUT_ or
MK_ settings go in here.

> and..
> which of the following is correct and why?

Since r265399, the WITHOUT_ setting wins.  Note that the value of the
WITH_ or WITHOUT_ setting does not matter, so WITH_DEBUG_FILES=no still
means that DEBUG_FILES is turned on.

If you want less ambiguity, spell your settings in src.conf like:



-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 223 bytes
Desc: Message signed with OpenPGP
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20171227/2d06a0b8/attachment.sig>

More information about the freebsd-current mailing list