Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Dec 2017 16:48:43 +0100
From:      Dimitry Andric <dim@FreeBSD.org>
To:        Julian Elischer <julian@freebsd.org>
Cc:        Konstantin Belousov <kostikbel@gmail.com>, Wolfram Schneider <wosch@freebsd.org>, David Wolfskill <david@catwhisker.org>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: /usr/obj is 11GB huge on FreeBSD 12-current
Message-ID:  <364A159B-ACE7-4842-BAD9-E8D407F7429B@FreeBSD.org>
In-Reply-To: <fd14cb35-5dd2-e478-0e05-976692645aaf@freebsd.org>
References:  <CAMWY7CDoF9LWJiz1wB7XWUtKsvk6QJGvH=yrUCh9FnRoG4y7EA@mail.gmail.com> <20171215120243.GB1179@albert.catwhisker.org> <CAMWY7CCWZ8RkprECMnPsAJy-3vfzdy50u0Zq4BGyCexKoEan%2Bg@mail.gmail.com> <CAMWY7CCOWmDzfPEZNTdxNCPO8JA46h98GrJPBd11un6Pn%2BaFhg@mail.gmail.com> <20171215183928.GO2272@kib.kiev.ua> <fd14cb35-5dd2-e478-0e05-976692645aaf@freebsd.org>

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

--Apple-Mail=_F5C8CD1B-D1FE-48F0-A1B0-007C3176B7D0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=us-ascii

On 27 Dec 2017, at 16:39, Julian Elischer <julian@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..
> 
>> WITHOUT_PROFILE=yes
>> WITHOUT_DEBUG_FILES=yes
>> WITHOUT_TESTS=yes
> which of the following is correct and why?
> 
> WITH_DEBUG_FILES=no
> WITHOUT_DEBUG_FILES=yes

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:

MK_FOO=yes
MK_BAR=no

-Dimitry


--Apple-Mail=_F5C8CD1B-D1FE-48F0-A1B0-007C3176B7D0
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.2

iF0EARECAB0WIQR6tGLSzjX8bUI5T82wXqMKLiCWowUCWkPA2wAKCRCwXqMKLiCW
o87xAJ0fOfm8ESEPbC2TS0104AeuYzu00ACeJuHFL/StNq78jseqACVIKICqOvA=
=JLAW
-----END PGP SIGNATURE-----

--Apple-Mail=_F5C8CD1B-D1FE-48F0-A1B0-007C3176B7D0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?364A159B-ACE7-4842-BAD9-E8D407F7429B>