From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: mlaurencin Date: Fri, 6 Aug 2021 15:29:48 -0700 Subject: disable use_lld for macOS This patch disables use_lld on macOS, in order to prevent a linking bug that occurs when building for arm64. diff --git a/build/config/compiler/compiler.gni b/build/config/compiler/compiler.gni index 6f1faaf10fa67a82077023ebbac31cca12cd6578..d7167629fa4cf5b2e46d2959d104e0dcec4acac4 100644 --- a/build/config/compiler/compiler.gni +++ b/build/config/compiler/compiler.gni @@ -200,7 +200,7 @@ declare_args() { # Set to true to use lld, the LLVM linker. # In late bring-up on macOS (see docs/mac_lld.md), and not functional at all for # iOS. The default linker everywhere else. - use_lld = is_clang && (!is_apple || host_os == "linux") + use_lld = is_clang && !is_apple } declare_args() {