aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/check-c.yml6
-rw-r--r--Makefile2
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/check-c.yml b/.github/workflows/check-c.yml
index c308e3620..b4ff6fd9c 100644
--- a/.github/workflows/check-c.yml
+++ b/.github/workflows/check-c.yml
@@ -67,11 +67,11 @@ jobs:
67 run: ./ci/printenv.sh 67 run: ./ci/printenv.sh
68 - name: configure 68 - name: configure
69 run: > 69 run: >
70 CC=clang-14 ./configure --enable-fatal-warnings --enable-apparmor 70 ./configure CC=clang-14 SCAN_BUILD=scan-build-14
71 --enable-selinux 71 --enable-fatal-warnings --enable-apparmor --enable-selinux
72 || (cat config.log; exit 1) 72 || (cat config.log; exit 1)
73 - name: scan-build 73 - name: scan-build
74 run: scan-build-14 --status-bugs make 74 run: make scan-build
75 75
76 cppcheck: 76 cppcheck:
77 runs-on: ubuntu-22.04 77 runs-on: ubuntu-22.04
diff --git a/Makefile b/Makefile
index d6d4f098c..dcd84b7ab 100644
--- a/Makefile
+++ b/Makefile
@@ -374,7 +374,7 @@ cppcheck-old: clean
374 374
375.PHONY: scan-build 375.PHONY: scan-build
376scan-build: clean 376scan-build: clean
377 $(SCAN_BUILD) $(MAKE) 377 $(SCAN_BUILD) --status-bugs $(MAKE)
378 378
379# TODO: Old codespell versions (such as v2.1.0 in CI) have issues with 379# TODO: Old codespell versions (such as v2.1.0 in CI) have issues with
380# contrib/syscalls.sh 380# contrib/syscalls.sh