From 1f6400bd89913d804b9803394c9c1bb629a7e97f Mon Sep 17 00:00:00 2001 From: "Kelvin M. Klann" Date: Sat, 24 Feb 2024 03:49:54 -0300 Subject: build: sync scan-build target with CI Changes: * Use --status-bugs in the scan-build target to exit with an error if bugs are found * Call the make target in the CI job --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index d6d4f098c..dcd84b7ab 100644 --- a/Makefile +++ b/Makefile @@ -374,7 +374,7 @@ cppcheck-old: clean .PHONY: scan-build scan-build: clean - $(SCAN_BUILD) $(MAKE) + $(SCAN_BUILD) --status-bugs $(MAKE) # TODO: Old codespell versions (such as v2.1.0 in CI) have issues with # contrib/syscalls.sh -- cgit v1.2.3-70-g09d2