Re: .debug files, skip?

From: Kevin Oberman <rkoberman_at_gmail.com>
Date: Fri, 10 Apr 2020 09:29:25 -0700
On Fri, Apr 10, 2020 at 4:07 AM Andriy Gapon <avg_at_freebsd.org> wrote:

> On 10/04/2020 09:55, Alexey Dokuchaev wrote:
> > On Sun, Apr 05, 2020 at 07:41:38PM -0400, Ed Maste wrote:
> >> On Sun, 5 Apr 2020 at 08:32, Jeffrey Bouquet wrote:
> >>>
> >>> A recent build[k,w] [ ** stable  12.1] and many .debug files I'd
> >>> like to skip if poss. A knob?
> >>
> >> Yes, from src.conf(5):
> >>      WITHOUT_DEBUG_FILES
> >>              Set to avoid building or installing standalone debug
> >>              files for each executable binary and shared library.
> >
> > I have "MK_DEBUG_FILES=no" in /etc/make.conf, which one is more correct?
>
> WITHOUT_.
>
> See bsd.mkopt.mk.
>
> # Users should generally define WITH_FOO or WITHOUT_FOO, but the build
> # system should use MK_FOO={yes,no} when it needs to override the
> # user's desires or default behavior.
>
> --
> Andriy Gapon
>

Or see src.conf man page which states:
The values of variables are ignored regardless of their setting; even if
they would be set to “FALSE” or “NO”.  The presence of an option causes it
to be honored by make(1).

Kevin Oberman, Network Engineer, Retired
Received on Fri Apr 10 2020 - 14:29:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:41:23 UTC