[oe,meta-multimedia,3/5] kodi: Fix build on powerpc

Message ID 20170708131744.33927-3-raj.khem@gmail.com
State New
Headers show
Series
  • [oe,meta-oe,1/5] libdbus-c++: Fix build with gcc7 and unblacklist
Related show

Commit Message

Khem Raj July 8, 2017, 1:17 p.m.
64bit atomics are not available therefore link in libatomic

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb | 1 +
 1 file changed, 1 insertion(+)

-- 
2.13.2

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Patch

diff --git a/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb b/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb
index 3bc2eb591..0b39116a1 100644
--- a/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb
+++ b/meta-multimedia/recipes-mediacenter/kodi/kodi_17.bb
@@ -133,6 +133,7 @@  BUILD_OPTIMIZATION = "${FULL_OPTIMIZATION}"
 
 LDFLAGS_append_mips = " -latomic"
 LDFLAGS_append_mipsel = " -latomic"
+LDFLAGS_append_powerpc = " -latomic"
 
 EXTRA_OECONF_append = " LIBTOOL=${STAGING_BINDIR_CROSS}/${HOST_SYS}-libtool"