Lines 21-32
Link Here
|
21 |
- cxx = "$prefix/clang++" |
21 |
- cxx = "$prefix/clang++" |
22 |
- ld = cxx |
22 |
- ld = cxx |
23 |
+ if (is_bsd) { |
23 |
+ if (is_bsd) { |
24 |
+ cc = "${toolprefix}clang50" |
24 |
+ cc = "${toolprefix}clang60" |
25 |
+ cxx = "${toolprefix}clang++50" |
25 |
+ cxx = "${toolprefix}clang++60" |
26 |
+ ld = cxx |
26 |
+ ld = cxx |
27 |
+ readelf = "readelf" |
27 |
+ readelf = "readelf" |
28 |
+ ar = "${toolprefix}llvm-ar50" |
28 |
+ ar = "${toolprefix}llvm-ar60" |
29 |
+ nm = "${toolprefix}llvm-nm50" |
29 |
+ nm = "${toolprefix}llvm-nm60" |
30 |
+ } else { |
30 |
+ } else { |
31 |
+ prefix = rebase_path("$clang_base_path/bin", root_build_dir) |
31 |
+ prefix = rebase_path("$clang_base_path/bin", root_build_dir) |
32 |
+ cc = "$prefix/clang" |
32 |
+ cc = "$prefix/clang" |
Lines 39-45
Link Here
|
39 |
|
39 |
|
40 |
if (use_clang_static_analyzer) { |
40 |
if (use_clang_static_analyzer) { |
41 |
# Static analysis isn't supported under GOMA. See crbug.com/687245 |
41 |
# Static analysis isn't supported under GOMA. See crbug.com/687245 |
42 |
@@ -507,10 +524,6 @@ template("clang_toolchain") { |
42 |
@@ -607,10 +524,6 @@ template("clang_toolchain") { |
43 |
root_build_dir) |
43 |
root_build_dir) |
44 |
} |
44 |
} |
45 |
|
45 |
|