Browse Source

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 771fa83920c593fd89593fda1a8a276d2ed8b3a2)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Bernd Kuhls 2 years ago
parent
commit
867a993aea
1 changed files with 1 additions and 0 deletions
  1. 1 0
      package/kodi/kodi.mk

+ 1 - 0
package/kodi/kodi.mk

@@ -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 \