build: Provide clang-14 for Debian12 94/40194/3
authorPim van Pelt <pim@ipng.nl>
Mon, 15 Jan 2024 10:06:19 +0000 (11:06 +0100)
committerDamjan Marion <dmarion@0xa5.net>
Tue, 16 Jan 2024 17:39:17 +0000 (17:39 +0000)
commit4a515d35a8702fafb1119e3dc4f969160b0e4372
tree078f3e76448bb9f9eacadc6e5548f511b13768d4
parent276cd73b754f861948a2bd8f242a09b4d9fae0dd
build: Provide clang-14 for Debian12

checkstyle.sh assumes clang-format-11 but allows it to be overridden.
Debian12 ships with a minimal version of clang-14, so set the correct
version for checkstyle.

Before:
$ make checkstyle
extras/scripts/checkstyle.sh: line 41: --version: command not found
make: *** [Makefile:720: checkstyle] Error 127

After:
$ make checkstyle
Debian clang-format version 14.0.6
*******************************************************************
* CHECKSTYLE SUCCESSFULLY COMPLETED
*******************************************************************

Type: make
Fixes: 712fc0308981c61444e593d6bcc2ad62102c726d
Change-Id: I0c58456477011397115810dab825865b5850d10d
Signed-off-by: pim@ipng.nl
Makefile