Date: Fri, 25 Oct 2013 07:20:57 -0700 From: Tim Kientzle <tim@kientzle.com> To: Dimitry Andric <dimitry@andric.com> Cc: svn-src-head@FreeBSD.org, Steven Hartland <smh@FreeBSD.org>, src-committers@FreeBSD.org, svn-src-all@FreeBSD.org Subject: Re: svn commit: r257109 - head/contrib/llvm/tools/clang/tools/driver Message-ID: <1EFCA941-2972-40CD-8724-C16F8A0544CE@kientzle.com> In-Reply-To: <BFE9444E-33F8-438E-AC49-FF20101AECF2@andric.com> References: <201310250909.r9P990nk083926@svn.freebsd.org> <BFE9444E-33F8-438E-AC49-FF20101AECF2@andric.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Oct 25, 2013, at 2:34 AM, Dimitry Andric <dimitry@andric.com> wrote: > On 25 Oct 2013, at 11:09, Steven Hartland <smh@freebsd.org> wrote: >> Author: smh >> Date: Fri Oct 25 09:09:00 2013 >> New Revision: 257109 >> URL: http://svnweb.freebsd.org/changeset/base/257109 >>=20 >> 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. >>=20 >> This fixes builds that use cmake, which automatically sets CXX to >> /usr/bin/CC by default. >=20 > Huh, I=92ve never seen that behavior with cmake? At least, not with = any > fairly recent version...=20 >=20 > Anyway, I do not really agree with this change, and I would rather = just > get rid of the /usr/bin/CC link instead. Even if FreeBSD removes the default symlink, clang should still default to C++ mode when invoked as CC (possibly through a symlink created by an individual user). > Build scripts and Makefiles > should use "c++" instead, which is the standard name for a C++ = compiler. Ours should, yes. Tim
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1EFCA941-2972-40CD-8724-C16F8A0544CE>