Skip to content

Commit

Permalink
pw_toolchain: Fix sysroot data arg for clang-tidy
Browse files Browse the repository at this point in the history
Bug: 369624694

Change-Id: I17aafd33cb6905ac39e6a19db2eca87f572ed4fb
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/237952
Reviewed-by: Jingjing Bu <[email protected]>
Pigweed-Auto-Submit: Samuel Liu <[email protected]>
Docs-Not-Needed: Samuel Liu <[email protected]>
Reviewed-by: Armando Montanez <[email protected]>
Presubmit-Verified: CQ Bot Account <[email protected]>
Lint: Lint 🤖 <[email protected]>
Commit-Queue: Auto-Submit <[email protected]>
  • Loading branch information
samliu000 authored and CQ Bot Account committed Sep 25, 2024
1 parent 8b3ecac commit d5e8fff
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pw_toolchain/build_external/llvm_clang.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ native_binary(
"include/**",
"lib/clang/**/include/**",
]) + select({
"@platforms//os:linux": ["@linux_sysroot//:all"],
"@platforms//os:linux": ["@linux_sysroot//:sysroot"],
"//conditions:default": [],
}),
out = select({
Expand Down
2 changes: 1 addition & 1 deletion pw_toolchain_bazel/build_external/llvm_clang_legacy.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ native_binary(
"include/**",
"lib/clang/**/include/**",
]) + select({
"@platforms//os:linux": ["@linux_sysroot//:all"],
"@platforms//os:linux": ["@linux_sysroot//:sysroot"],
"//conditions:default": [],
}),
out = select({
Expand Down

0 comments on commit d5e8fff

Please sign in to comment.