Skip to content

Commit 15228b0

Browse files
krajRaphael Kubo da Costa
authored andcommitted
chromium: Always use LLD for linking
Before #470 this was already the case via the .bbappend files in meta-clang so this has been tested for a long time. lld is the default upstream, which means it is more extensively tested. Its well supported on arm/x86/aarch64 architectures and is faster to link see [1] [1] https://lld.llvm.org/#performance Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 parent d6b1385 commit 15228b0

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

meta-chromium/recipes-browser/chromium/chromium-gn.inc

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,9 +159,8 @@ GN_ARGS += "is_debug=false is_official_build=true"
159159
# https://groups.google.com/a/chromium.org/d/msg/chromium-packagers/8aYO3me2SCE/SZ8pJXhZAwAJ
160160
GN_ARGS += "use_custom_libcxx=false"
161161

162-
# When using meta-clang, one can switch to using the lld linker
163-
# by using the ld-is-lld distro feature otherwise use gold linker
164-
GN_ARGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-lld', 'use_lld=true use_gold=false', 'use_lld=false use_gold=true', d)}"
162+
# Use lld linker its quicker see https://lld.llvm.org/#performance
163+
GN_ARGS += "use_lld=true use_gold=false"
165164

166165
# By default, passing is_official_build=true to GN causes its symbol_level
167166
# variable to be set to "2". This means the compiler will be passed "-g2" and

0 commit comments

Comments
 (0)