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



rodent%NetBSD.org@localhost writes:

> 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.

I am not quite following this.

Are you saying that if you run bootstrap on FreeBSD 10, you get a
$PREFIX/etc/mk.conf that sets PKGSRC_COMPILER to clang, and then
everything is ok, but if the user takes that line out, then it tries gcc
and fails?

Attachment: pgpRg2frc6Cq1.pgp
Description: PGP signature



Home | Main Index | Thread Index | Old Index