[Buildroot] [git commit] package/kodi: remove libatomic from linker flags

Yann E. MORIN yann.morin.1998 at free.fr
Sun May 12 16:53:17 UTC 2024


commit: https://git.buildroot.net/buildroot/commit/?id=31e7ca602686f936a7ca9baa6830f16d9744e429
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

Kodi added detection for atomic/libatomic with commit
https://github.com/xbmc/xbmc/commit/1673f476b802da1da942cef256cae6272fdf9a4b
so we can remove our own code to handle the dependency.

Signed-off-by: Bernd Kuhls <bernd at kuhls.net>
Signed-off-by: Yann E. MORIN <yann.morin.1998 at free.fr>
---
 package/kodi/kodi.mk | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/package/kodi/kodi.mk b/package/kodi/kodi.mk
index 62463b731e..94cab237dc 100644
--- a/package/kodi/kodi.mk
+++ b/package/kodi/kodi.mk
@@ -217,11 +217,6 @@ else
 KODI_CONF_OPTS += -D_AVX2_OK=OFF -D_AVX2_TRUE=OFF
 endif
 
-# mips: uses __atomic_load_8
-ifeq ($(BR2_TOOLCHAIN_HAS_LIBATOMIC),y)
-KODI_CONF_OPTS += -DCMAKE_EXE_LINKER_FLAGS=-latomic
-endif
-
 ifeq ($(BR2_TOOLCHAIN_GCC_AT_LEAST_5),)
 KODI_C_FLAGS += -std=gnu99
 endif



More information about the buildroot mailing list