[Buildroot] [git commit branch/2023.05.x] package/kodi: disable clang support
Peter Korsgaard
peter at korsgaard.com
Tue Aug 29 16:46:40 UTC 2023
commit: https://git.buildroot.net/buildroot/commit/?id=867a993aeaebfa54c7154c872dcfcda1e2cf0737
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2023.05.x
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 at kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni at bootlin.com>
(cherry picked from commit 771fa83920c593fd89593fda1a8a276d2ed8b3a2)
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
package/kodi/kodi.mk | 1 +
1 file changed, 1 insertion(+)
diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index 70ed270555..0a76f8a4db 100644
--- a/package/kodi/kodi.mk
+++ b/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 \
More information about the buildroot
mailing list