Package: chromium / 138.0.7204.157-1

debianization/clang-version.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
author: Andres Salomon <dilinger@debian.org>
description: hardcode lld for whatever version of clang we're using

Upstream doesn't allow overridding the linker name (other than toggling
lld vs gold).

--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -401,7 +401,7 @@ config("compiler") {
     }
 
     if (use_lld) {
-      ldflags += [ "-fuse-ld=lld" ]
+      ldflags += [ "-fuse-ld=lld-19" ]
       if (lld_path != "") {
         ldflags += [ "-B" + rebase_path(lld_path, root_build_dir) ]
       }