* [meta-oe][PATCH] capnproto: Fix build on mips
@ 2022-02-13 1:17 Khem Raj
0 siblings, 0 replies; only message in thread
From: Khem Raj @ 2022-02-13 1:17 UTC (permalink / raw)
To: openembedded-devel; +Cc: Khem Raj
gcc and clang calls atomic intrinsics which needs linking with libatomic
Fixes
| /usr/src/debug/capnproto/0.9.1-r0/git/c++/src/capnp/arena.h:114: undefined reference to `__atomic_load_8'
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
meta-oe/recipes-devtools/capnproto/capnproto_0.9.1.bb | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta-oe/recipes-devtools/capnproto/capnproto_0.9.1.bb b/meta-oe/recipes-devtools/capnproto/capnproto_0.9.1.bb
index 164bb2cf8a..9616edd732 100644
--- a/meta-oe/recipes-devtools/capnproto/capnproto_0.9.1.bb
+++ b/meta-oe/recipes-devtools/capnproto/capnproto_0.9.1.bb
@@ -13,6 +13,8 @@ S = "${WORKDIR}/git/c++"
inherit cmake
+CXXFLAGS:append:mips = " -latomic"
+
EXTRA_OECMAKE += "\
-DBUILD_TESTING=OFF \
"
--
2.35.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-02-13 1:17 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-02-13 1:17 [meta-oe][PATCH] capnproto: Fix build on mips Khem Raj
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.