[oe-commits] [openembedded-core] 08/14: webkitgtk: Link compiler-rt for clang specific built-ins
git at git.openembedded.org
git at git.openembedded.org
Thu Dec 13 16:33:04 UTC 2018
This is an automated email from the git hooks/post-receive script.
rpurdie pushed a commit to branch master
in repository openembedded-core.
commit 9584fc5ff7e07bb38c6ab115a216d9d28d1632d9
Author: Khem Raj <raj.khem at gmail.com>
AuthorDate: Mon Dec 10 15:52:07 2018 -0800
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 at gmail.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/recipes-sato/webkit/webkitgtk_2.22.4.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/recipes-sato/webkit/webkitgtk_2.22.4.bb b/meta/recipes-sato/webkit/webkitgtk_2.22.4.bb
index 60f1b3e..1961220 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"
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list