| Index: build/toolchain/toolchain.gni
|
| diff --git a/build/toolchain/toolchain.gni b/build/toolchain/toolchain.gni
|
| index 9a31c361f47da8c2b1fdc556f6383c2afb351b90..63ecdbd89a3d9c4ac7dcff88ec41f42ba1976500 100644
|
| --- a/build/toolchain/toolchain.gni
|
| +++ b/build/toolchain/toolchain.gni
|
| @@ -62,6 +62,12 @@
|
| # Clang compiler version. Clang files are placed at version-dependent paths.
|
| clang_version = "5.0.0"
|
| }
|
| +
|
| + # Set to true to use lld, the LLVM linker. This flag may be used on Windows
|
| + # or Linux.
|
| + use_lld = (is_win && host_os != "win") || is_fuchsia ||
|
| + (allow_posix_link_time_opt && target_os == "linux" &&
|
| + !is_chromeos && target_cpu == "x64")
|
| }
|
|
|
| # Check target_os here instead of is_ios as this file is loaded for secondary
|
|
|