Build lld as long as we have a C++11 host compiler
As with Clang, build our toolchain components by default when the host compiler is capable of doing so, to make them available for testing and experimentation. Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
f9656ee690
commit
2dce6bfbb2
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=333188
@ -242,8 +242,8 @@ __DEFAULT_NO_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX GPL_DTC
|
|||||||
# If an external compiler that supports C++11 is used as ${CC} and Clang
|
# 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
|
# supports the target, then Clang is enabled but GCC is installed as the
|
||||||
# default /usr/bin/cc.
|
# default /usr/bin/cc.
|
||||||
__DEFAULT_YES_OPTIONS+=CLANG CLANG_FULL GCC GCC_BOOTSTRAP GNUCXX GPL_DTC
|
__DEFAULT_YES_OPTIONS+=CLANG CLANG_FULL GCC GCC_BOOTSTRAP GNUCXX GPL_DTC LLD
|
||||||
__DEFAULT_NO_OPTIONS+=CLANG_BOOTSTRAP CLANG_IS_CC LLD
|
__DEFAULT_NO_OPTIONS+=CLANG_BOOTSTRAP CLANG_IS_CC
|
||||||
.else
|
.else
|
||||||
# Everything else disables Clang, and uses GCC instead.
|
# Everything else disables Clang, and uses GCC instead.
|
||||||
__DEFAULT_YES_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX GPL_DTC
|
__DEFAULT_YES_OPTIONS+=GCC GCC_BOOTSTRAP GNUCXX GPL_DTC
|
||||||
|
Loading…
Reference in New Issue
Block a user