tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: defaulting to clang on FreeBSD 10.x



On Sun, Mar 22, 2015 at 12:01:51PM -0400, rodent%NetBSD.org@localhost wrote:
> On Sun, Mar 22, 2015 at 04:53:52PM +0100, Tobias Nygren wrote:
> > 
> > But why would you remove the settings that bootstrap has determined to
> > be required? This is how it has always worked and is not limited
> > to FreeBSD nor PKGSRC_COMPILER. For example all the TOOLS_PLATFORM
> > variables that bootstrap may conditionally set in mk.conf if it detects
> > that it has to install compatibility packages.
> > 
> > Kind regards,
> > -Tobias
> 
> It's not the point of _why_ they would be removed, but the question of their
> behaviour of what happens _if_ they are removed. Defaulting to gcc on this
> system (FreeBSD 10.x) if clang is not set _explicitly_ by the user is wrong.

You have to bootstrap on FreeBSD. bootstrap should decide which compiler
to use. Everything else is just left overs.

Joerg


Home | Main Index | Thread Index | Old Index