package/kodi: disable clang support

When present kodi tries to use the target binary of clang-format
https://github.com/xbmc/xbmc/blob/master/cmake/modules/buildtools/FindClangFormat.cmake
causing a build error.

To fix the problem disable clang-format support.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 771fa83920)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Bernd Kuhls
2023-07-19 00:18:31 +02:00
committed by Peter Korsgaard
parent c2019a9f18
commit 867a993aea

View File

@@ -78,6 +78,7 @@ KODI_CONF_OPTS += \
-DENABLE_INTERNAL_SPDLOG=OFF \
-DKODI_DEPENDSBUILD=OFF \
-DENABLE_GOLD=OFF \
-DCLANG_FORMAT_EXECUTABLE=OFF \
-DHOST_CAN_EXECUTE_TARGET=FALSE \
-DNATIVEPREFIX=$(HOST_DIR) \
-DDEPENDS_PATH=$(STAGING_DIR)/usr \