Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 08b63c38 authored by Yi Kong's avatar Yi Kong Committed by Gerrit Code Review
Browse files

Merge "Use LLD for Darwin host binaries"

parents 8f509bc8 c3977fa9
Loading
Loading
Loading
Loading
+0 −5
Original line number Diff line number Diff line
@@ -436,11 +436,6 @@ func (linker *baseLinker) linkerDeps(ctx DepsContext, 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)
	}