Re: git: 4df0e66a3662 - main - llvm.mk: add export/noexport to handle CC/CXX/CPP exports

From: Tobias C. Berner <tcberner_at_freebsd.org>
Date: Wed, 13 Sep 2023 06:04:27 UTC
Moin moin

From a rough count: of the 87 ports using llvm.mk 50 set CC.


mfg Tobias

On Wed, 13 Sept 2023 at 07:56, Gleb Popov <arrowd@freebsd.org> wrote:
>
> On Wed, Sep 13, 2023 at 8:20 AM Tobias C. Berner <tcberner@freebsd.org> wrote:
> >
> > +  USES=llvm.mk now supports 'export' (default) and 'noexport' arguments.
> > +  When export is set, CC, CXX and CPP will be set to the path corresponding
> > +  to the chosen llvm-version.
>
> The choice for the default seems strange to me. Now every port that
> has USES=llvm will be switching to building with a non-base compiler.
> Is this really a sensible default?