buildworld with clang breaks because no cc

Dimitry Andric dim at FreeBSD.org
Sat Nov 24 12:41:40 UTC 2012


On 2012-11-23 13:38, Beeblebrox wrote:
> Looks like I should have placed these in my /etc/src.conf:
> WITH_CLANG= yes

This is not strictly necessary, WITH_CLANG is already enabled by
default.


> WITH_CLANG_EXTRAS= yes

In most cases, you will not need the llvm/clang extras, and they will
add some build time.


> WITH_CLANG_IS_CC= yes

If you want to use WITHOUT_GCC, as you mentioned in your first post, you
will indeed need this setting.


> I don't believe I will need anything under /usr/src/tools. How can I disable
> that in /etc/src.conf? The man page does not have that info.

You cannot disable them, some of the tools under there are needed for
buildworld.  Others are just nice to have for specific jobs, like
cleaning up old files, or regression tests.



More information about the freebsd-stable mailing list