diff options
author | Stefano Brivio <sbrivio@redhat.com> | 2024-02-27 17:02:27 +0100 |
---|---|---|
committer | Stefano Brivio <sbrivio@redhat.com> | 2024-02-28 18:57:30 +0100 |
commit | 925af4ef821955adf66478a4d1ea6327316b107d (patch) | |
tree | 63bbde135e8d8222ac224691ade78369db98b3f0 /pcap.c | |
parent | 15001b39ef1d41c0535ef0d2384e074c6f85cefd (diff) | |
download | passt-925af4ef821955adf66478a4d1ea6327316b107d.tar passt-925af4ef821955adf66478a4d1ea6327316b107d.tar.gz passt-925af4ef821955adf66478a4d1ea6327316b107d.tar.bz2 passt-925af4ef821955adf66478a4d1ea6327316b107d.tar.lz passt-925af4ef821955adf66478a4d1ea6327316b107d.tar.xz passt-925af4ef821955adf66478a4d1ea6327316b107d.tar.zst passt-925af4ef821955adf66478a4d1ea6327316b107d.zip |
Makefile: check for cppcheck's --check-level option in cppcheck target
Don't run cppcheck to find out if the --check-level=exhaustive option
is available, unless we're actually going to run cppcheck later.
To avoid this, move this check under the cppcheck target, and
implement it in shell script instead of using Makefile directives,
because we can't easily implement conditionals in recipes.
Reported-by: Rahil Bhimjiani <me@rahil.website>
Link: https://bugs.gentoo.org/920795
Fixes: 8640d62af719 ("cppcheck: Use "exhaustive" level checking when available")
Signed-off-by: Stefano Brivio <sbrivio@redhat.com>
Reviewed-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'pcap.c')
0 files changed, 0 insertions, 0 deletions