svn commit: r278223 - head/lib/clang
Dimitry Andric
dim at FreeBSD.org
Wed Feb 4 21:16:59 UTC 2015
On 04 Feb 2015, at 22:09, NGie Cooper <yaneurabeya at gmail.com> wrote:
>
> On Wed, Feb 4, 2015 at 1:00 PM, Dimitry Andric <dim at freebsd.org> wrote:
>> Author: dim
>> Date: Wed Feb 4 21:00:29 2015
>> New Revision: 278223
>> URL: https://svnweb.freebsd.org/changeset/base/278223
>>
>> Log:
>> For now, add -stdlib=libc++ to the flags for building clang, since that
>> makes it easier to build head on stable/9, where libstdc++ is still the
>> default. We can revisit this when somebody will try to build base with
>> gcc 4.8.1 or higher, and its included libstdc++.
>
> Maybe this should be conditionalized on COMPILER_TYPE?
COMPILER_TYPE doesn't say anything about the C++ library used. Maybe we
need a CXX_LIBRARY_TYPE setting for it?
That said, you may be right that it should be conditionalized on the
compiler type anyway, since gcc does not support the -stdlib= option.
-Dimitry
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20150204/0f4d39d6/attachment.sig>
More information about the svn-src-all
mailing list