Doing it wrong: Building world with lang/clang-devel

Brooks Davis brooks at FreeBSD.org
Sun Sep 22 21:53:09 UTC 2013


On Sat, Sep 21, 2013 at 03:42:16PM +0400, Lev Serebryakov wrote:
> Hello, Sean.
> You wrote 20 ???????????????? 2013 ??., 22:39:30:
> 
> SB> wow, that didn't work at all.  :-)
> 
> SB> I set these in make.conf:
> 
> SB> CC=/usr/local/bin/clang
> SB> C++=/usr/local/bin/clang++
> SB> CPP=/usr/local/bin/clang++
> 
> SB> It exploded pretty badly:
> 
> SB> http://people.freebsd.org/~sbruno/doingitwrong.txt
> 
> SB> Any reason that this shouldn't work?
> Try
> 
> XCC=/usr/local/bin/clang
> XCXX=/usr/local/bin/clang++
> XCPP=/usr/local/bin/clang++
> COMPILER_TYPE=clang
> 
>  It should work, at least, in theory.

You will likely also need -WITHOUT_FORMAT_EXTENSIONS.

-- Brooks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-current/attachments/20130922/422fe090/attachment.sig>


More information about the freebsd-current mailing list