Update Makefile to fix scan-build race condition
This commit is contained in:
@@ -219,9 +219,9 @@ tidy:
|
|||||||
find ./src -iname *.h -o -iname *.c -exec clang-tidy {} $(CLANG_TIDY_OPTIONS) \;
|
find ./src -iname *.h -o -iname *.c -exec clang-tidy {} $(CLANG_TIDY_OPTIONS) \;
|
||||||
find ./apps -iname *.c -exec clang-tidy {} $(CLANG_TIDY_OPTIONS) \;
|
find ./apps -iname *.c -exec clang-tidy {} $(CLANG_TIDY_OPTIONS) \;
|
||||||
|
|
||||||
.PHONY: lint
|
.PHONY: scan-build
|
||||||
lint:
|
scan-build:
|
||||||
scan-build --status-bugs -analyze-headers make -j2 clean server
|
scan-build --status-bugs -analyze-headers make -j2 server
|
||||||
|
|
||||||
SPLINT_OPTIONS := -weak +posixlib +quiet \
|
SPLINT_OPTIONS := -weak +posixlib +quiet \
|
||||||
-D__signed__=signed -D__gnuc_va_list=va_list \
|
-D__signed__=signed -D__gnuc_va_list=va_list \
|
||||||
|
|||||||
Reference in New Issue
Block a user