diff options
author | dim <dim@FreeBSD.org> | 2014-12-10 22:33:57 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2014-12-10 22:33:57 +0000 |
commit | 4cba228708753c1128b75a2c25c0dda582a9913a (patch) | |
tree | 95532312edbb07d834c7fcf2d808d65715d728a5 /contrib/llvm/tools/clang/lib/CodeGen/TargetInfo.cpp | |
parent | 3f2f30da4da7f8bb7d9beab3ec40148326d373f9 (diff) | |
download | FreeBSD-src-4cba228708753c1128b75a2c25c0dda582a9913a.zip FreeBSD-src-4cba228708753c1128b75a2c25c0dda582a9913a.tar.gz |
Since clang 3.5.0 and later must be built by a compiler with C++11
support, make this explicit in src.opts.mk, by updating the default
settings.
The defaults become as follows:
* If the host compiler is not C++11 capable, use gcc and disable clang.
* On x86, enable clang, make it the default cc, and disable gcc.
* On little-endian ARM, enable clang, but not the full build, make it
the default cc, and disable gcc.
* On PowerPC, enable clang, but enable gcc and make that the default cc.
* On everything else, use gcc, and disable clang.
This can be amended later, if we get e.g. sparc64 or big-endian ARM
working with clang.
Reviewed by: imp, brooks
Differential Revision: https://reviews.freebsd.org/D1294
Diffstat (limited to 'contrib/llvm/tools/clang/lib/CodeGen/TargetInfo.cpp')
0 files changed, 0 insertions, 0 deletions