diff options
| author | Ed Maste <emaste@FreeBSD.org> | 2017-01-26 02:22:23 +0000 |
|---|---|---|
| committer | Ed Maste <emaste@FreeBSD.org> | 2017-01-26 02:22:23 +0000 |
| commit | dfccd92cd2830c7b0ddd38ce8c92cfbd4e94d114 (patch) | |
| tree | 76d4ef6011f3754b24226ae0bf968ee35367d3f0 | |
| parent | 737872e9788b817e60093243305796fce8b3aec9 (diff) | |
Notes
| -rw-r--r-- | share/mk/src.opts.mk | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/share/mk/src.opts.mk b/share/mk/src.opts.mk index 2e5108a20351..9ee530596a5e 100644 --- a/share/mk/src.opts.mk +++ b/share/mk/src.opts.mk @@ -223,18 +223,18 @@ __TT=${MACHINE} .if ${COMPILER_FEATURES:Mc++11} && (${__T} == "aarch64" || \ ${__T} == "amd64" || ${__TT} == "arm" || ${__T} == "i386") # Clang is enabled, and will be installed as the default /usr/bin/cc. -__DEFAULT_YES_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_FULL CLANG_IS_CC +__DEFAULT_YES_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_FULL CLANG_IS_CC LLD __DEFAULT_NO_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX .elif ${COMPILER_FEATURES:Mc++11} && ${__T} != "riscv64" && ${__T} != "sparc64" # If an external compiler that supports C++11 is used as ${CC} and Clang # supports the target, then Clang is enabled but GCC is installed as the # default /usr/bin/cc. __DEFAULT_YES_OPTIONS+=CLANG CLANG_FULL GCC GCC_BOOTSTRAP GNUCXX -__DEFAULT_NO_OPTIONS+=CLANG_BOOTSTRAP CLANG_IS_CC +__DEFAULT_NO_OPTIONS+=CLANG_BOOTSTRAP CLANG_IS_CC LLD .else # Everything else disables Clang, and uses GCC instead. __DEFAULT_YES_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX -__DEFAULT_NO_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_FULL CLANG_IS_CC +__DEFAULT_NO_OPTIONS+=CLANG CLANG_BOOTSTRAP CLANG_FULL CLANG_IS_CC LLD .endif # In-tree binutils/gcc are older versions without modern architecture support. .if ${__T} == "aarch64" || ${__T:Mriscv*} != "" @@ -257,9 +257,9 @@ __DEFAULT_YES_OPTIONS+=LLD_AS_LD __DEFAULT_NO_OPTIONS+=LLD_AS_LD .endif .if ${__T} == "aarch64" || ${__T} == "amd64" -__DEFAULT_YES_OPTIONS+=LLD LLDB +__DEFAULT_YES_OPTIONS+=LLDB .else -__DEFAULT_NO_OPTIONS+=LLD LLDB +__DEFAULT_NO_OPTIONS+=LLDB .endif # LLVM lacks support for FreeBSD 64-bit atomic operations for ARMv4/ARMv5 .if ${__T} == "arm" || ${__T} == "armeb" |
