summaryrefslogtreecommitdiffstats
path: root/build/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'build/scripts')
-rw-r--r--build/scripts/clang_tidy.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/scripts/clang_tidy.py b/build/scripts/clang_tidy.py
index d0eaaf284cd..fce6815f4ad 100644
--- a/build/scripts/clang_tidy.py
+++ b/build/scripts/clang_tidy.py
@@ -125,6 +125,8 @@ def find_header(p, h):
def main():
args, clang_cmd = parse_args()
+ if '-gz=zstd' in clang_cmd:
+ clang_cmd.remove('-gz=zstd')
if '/retry_cc.py' in str(clang_cmd):
clang_cmd = list(filter_cmd(clang_cmd))
setup_script(args)