Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Apr 2020 09:29:25 -0700
From:      Kevin Oberman <rkoberman@gmail.com>
To:        Andriy Gapon <avg@freebsd.org>
Cc:        Alexey Dokuchaev <danfe@freebsd.org>, current <current@freebsd.org>
Subject:   Re: .debug files, skip?
Message-ID:  <CAN6yY1tbDRSpuyKAqDMj0tijyCtoUpRvca4hhsBNAu--fHKD9Q@mail.gmail.com>
In-Reply-To: <699cc7c3-24df-d5af-137c-2409a9dba9aa@FreeBSD.org>
References:  <E1jL41M-00018P-0L@rmmprod07.runbox> <CAPyFy2CU6yMEX8=aM76V3AF8S8rxcKJ%2BCgSG%2Bfpj_m3HZRsYZQ@mail.gmail.com> <20200410065514.GA44532@FreeBSD.org> <699cc7c3-24df-d5af-137c-2409a9dba9aa@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Apr 10, 2020 at 4:07 AM Andriy Gapon <avg@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=3Dno" in /etc/make.conf, which one is more corre=
ct?
>
> WITHOUT_.
>
> See bsd.mkopt.mk.
>
> # Users should generally define WITH_FOO or WITHOUT_FOO, but the build
> # system should use MK_FOO=3D{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 =E2=80=9CFALSE=E2=80=9D or =E2=80=9CNO=E2=80=9D.  The =
presence of an option causes it
to be honored by make(1).

Kevin Oberman, Network Engineer, Retired



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