summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2018-12-10 15:52:07 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-12-13 16:32:14 +0000
commit9584fc5ff7e07bb38c6ab115a216d9d28d1632d9 (patch)
treeb80e54858d22dffbc642f04261c079b2d6a19753 /meta/recipes-sato
parent26722e59ca5df14bd90fc09306d97ff0fd078f32 (diff)
downloadopenembedded-core-9584fc5ff7e07bb38c6ab115a216d9d28d1632d9.tar.gz
openembedded-core-9584fc5ff7e07bb38c6ab115a216d9d28d1632d9.tar.bz2
openembedded-core-9584fc5ff7e07bb38c6ab115a216d9d28d1632d9.zip
webkitgtk: Link compiler-rt for clang specific built-ins
When using clang, its increasingly using its own runtime which means libgcc is not enough to find all primitives its using. Fixes errors like recipe-sysroot/usr/lib/libwebkit2gtk-4.0.so: undefined reference to `__mulodi4' Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato')
-rw-r--r--meta/recipes-sato/webkit/webkitgtk_2.22.4.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.22.4.bb b/meta/recipes-sato/webkit/webkitgtk_2.22.4.bb
index 60f1b3ea5d..196122002b 100644
--- a/meta/recipes-sato/webkit/webkitgtk_2.22.4.bb
+++ b/meta/recipes-sato/webkit/webkitgtk_2.22.4.bb
@@ -98,6 +98,8 @@ EXTRA_OECMAKE_append_x86-x32 = " -DENABLE_JIT=OFF "
SECURITY_CFLAGS_remove_aarch64 = "-fpie"
SECURITY_CFLAGS_append_aarch64 = " -fPIE"
+LDFLAGS_append_toolchain-clang = " -rtlib=compiler-rt"
+
FILES_${PN} += "${libdir}/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so"
RRECOMMENDS_${PN} += "ca-certificates shared-mime-info"