summarylogtreecommitdiffstats
path: root/compiler-rt-adjust-paths.patch
blob: abd2ef59e9dc9ca1ef6a663865f5400b18ff3b8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/build/config/clang/BUILD.gn b/build/config/clang/BUILD.gn
index 3f1dc3463..2f2b5f43a 100644
--- a/build/config/clang/BUILD.gn
+++ b/build/config/clang/BUILD.gn
@@ -176,7 +176,8 @@ template("clang_lib") {
         _dir = "darwin"
       } else if (is_linux || is_chromeos) {
         if (current_cpu == "x64") {
-          _dir = "x86_64-unknown-linux-gnu"
+          _dir = "linux"
+          _suffix = "-x86_64"
         } else if (current_cpu == "x86") {
           _dir = "i386-unknown-linux-gnu"
         } else if (current_cpu == "arm") {