Skip to content

Commit

Permalink
pass through the --sysroot
Browse files Browse the repository at this point in the history
  • Loading branch information
lalten authored and erenon committed Nov 14, 2023
1 parent d21d797 commit 3b5aceb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang_tidy/clang_tidy.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ def _safe_flags(flags):
"-fstack-usage",
]

return [flag for flag in flags if flag not in unsupported_flags and not flag.startswith("--sysroot")]
return [flag for flag in flags if flag not in unsupported_flags]

def _clang_tidy_aspect_impl(target, ctx):
# if not a C/C++ target, we are not interested
Expand Down

0 comments on commit 3b5aceb

Please sign in to comment.