summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/webkit
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:21 +0000
commitbd220d576d3bec52fd97ebc7ea370c05d9347ea3 (patch)
treebd6e55593be7c85b678d6c2993de2492bb8f1ef8 /meta/recipes-sato/webkit
parenta34555a54dae29233bd8c4d8f3123bae384f43f5 (diff)
downloadpoky-bd220d576d3bec52fd97ebc7ea370c05d9347ea3.tar.gz
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' (From OE-Core rev: 9584fc5ff7e07bb38c6ab115a216d9d28d1632d9) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato/webkit')
-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 "
98SECURITY_CFLAGS_remove_aarch64 = "-fpie" 98SECURITY_CFLAGS_remove_aarch64 = "-fpie"
99SECURITY_CFLAGS_append_aarch64 = " -fPIE" 99SECURITY_CFLAGS_append_aarch64 = " -fPIE"
100 100
101LDFLAGS_append_toolchain-clang = " -rtlib=compiler-rt"
102
101FILES_${PN} += "${libdir}/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so" 103FILES_${PN} += "${libdir}/webkit2gtk-4.0/injected-bundle/libwebkit2gtkinjectedbundle.so"
102 104
103RRECOMMENDS_${PN} += "ca-certificates shared-mime-info" 105RRECOMMENDS_${PN} += "ca-certificates shared-mime-info"