svn commit: r257109 - head/contrib/llvm/tools/clang/tools/driver

Dimitry Andric dimitry at andric.com
Fri Oct 25 09:35:22 UTC 2013


On 25 Oct 2013, at 11:09, Steven Hartland <smh at freebsd.org> wrote:
> Author: smh
> Date: Fri Oct 25 09:09:00 2013
> New Revision: 257109
> URL: http://svnweb.freebsd.org/changeset/base/257109
> 
> Log:
>  Add clang-CC and CC to list of hints allowing clang to identify its operating
>  mode as c++ instead of defaulting to c for the binary names CC and clang-CC.
> 
>  This fixes builds that use cmake, which automatically sets CXX to
>  /usr/bin/CC by default.

Huh, I’ve never seen that behavior with cmake?  At least, not with any
fairly recent version... 

Anyway, I do not really agree with this change, and I would rather just
get rid of the /usr/bin/CC link instead.  Build scripts and Makefiles
should use "c++" instead, which is the standard name for a C++ compiler.

Note that you also introduce yet another change from upstream... :-/

-Dimitry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 203 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20131025/bd3643d2/attachment.sig>


More information about the svn-src-all mailing list