Merge "Disable LLD for Darwin host executables."
am: 95ba30aa56
Change-Id: I1082ff2ef6e7db2a1292c55d8bdbea0fc651430f
This commit is contained in:
commit
74db54674a
1 changed files with 5 additions and 0 deletions
|
@ -205,6 +205,11 @@ func (linker *baseLinker) linkerDeps(ctx BaseModuleContext, deps Deps) Deps {
|
|||
}
|
||||
|
||||
func (linker *baseLinker) useClangLld(ctx ModuleContext) bool {
|
||||
// Clang lld is not ready for for Darwin host executables yet.
|
||||
// See https://lld.llvm.org/AtomLLD.html for status of lld for Mach-O.
|
||||
if ctx.Darwin() {
|
||||
return false
|
||||
}
|
||||
if linker.Properties.Use_clang_lld != nil {
|
||||
return Bool(linker.Properties.Use_clang_lld)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue