]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Make cppcheck find config.h
authorJoel Rosdahl <joel@rosdahl.net>
Mon, 15 Oct 2018 19:08:51 +0000 (21:08 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Mon, 15 Oct 2018 19:08:51 +0000 (21:08 +0200)
dev.mk.in

index 4ca34a465869a4c07569091d677fef52e0a64736..4189c6d5bb4c5b5a8b7b4baebd0125b0c3e182a7 100644 (file)
--- a/dev.mk.in
+++ b/dev.mk.in
@@ -192,7 +192,7 @@ check-syntax:
 .PHONY: cppcheck
 cppcheck:
        $(CPPCHECK) --suppressions-list=$(CPPCHECK_SUPPRESSIONS) \
-         --inline-suppr -q --enable=all --force \
+         --inline-suppr -q --enable=all --force -I . \
          $(non_3pp_sources) src/main.c $(test_sources)
 
 .PHONY: shellcheck