Update Makefile to fix scan-build race condition

This commit is contained in:
Steve Karg
2022-04-25 20:37:35 -05:00
committed by GitHub
parent 94623c63c5
commit 85d3b72b36
+3 -3
View File
@@ -219,9 +219,9 @@ tidy:
find ./src -iname *.h -o -iname *.c -exec clang-tidy {} $(CLANG_TIDY_OPTIONS) \;
find ./apps -iname *.c -exec clang-tidy {} $(CLANG_TIDY_OPTIONS) \;
.PHONY: lint
lint:
scan-build --status-bugs -analyze-headers make -j2 clean server
.PHONY: scan-build
scan-build:
scan-build --status-bugs -analyze-headers make -j2 server
SPLINT_OPTIONS := -weak +posixlib +quiet \
-D__signed__=signed -D__gnuc_va_list=va_list \