How to insist on only clang, for world/kernel?
Warner Losh
imp at bsdimp.com
Fri Mar 11 04:49:02 UTC 2016
make buildworld WITH_CLANG=t WITH_CLANG_BOOTSTRAP=t WITHOUT_GCC=y
WITHOUT_GCC_BOOTSTRAP=t WITH_CLANG_IS_CC=t
make buildkernel
But that's mostly default these days, so really most people get what you
want by doing
make buildworld buildkernel
Warner
On Thu, Mar 10, 2016 at 9:23 PM, Chris H <bsd-lists at bsdforge.com> wrote:
> Greetings,
> A recent build/install world/kernel on a fresh 9-STABLE.
> I was surprised to see that, while clang was also built,
> gcc was used to perform the build for at least world.
> I performed some research to definitively determine the
> magic incantation for at least src.conf(5). However, I
> found too many possibilities to be sure. So I'm here
> to beg for the answer.
>
> The most likely candidates I have so far
>
> FAVORITE_COMPILER=clang
> MAKE_COMPILER_TYPE=clang
> WITH_CLANG=true
> CC=clang
> CXX=clang++
> CPP=clang-cpp
>
> Thanks you.
>
> --Chris
>
> --
>
>
> _______________________________________________
> freebsd-toolchain at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-toolchain
> To unsubscribe, send any mail to "
> freebsd-toolchain-unsubscribe at freebsd.org"
>
More information about the freebsd-toolchain
mailing list