mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
capnproto: Fix build on mips
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>
This commit is contained in:
@@ -13,6 +13,8 @@ S = "${WORKDIR}/git/c++"
|
|||||||
|
|
||||||
inherit cmake
|
inherit cmake
|
||||||
|
|
||||||
|
CXXFLAGS:append:mips = " -latomic"
|
||||||
|
|
||||||
EXTRA_OECMAKE += "\
|
EXTRA_OECMAKE += "\
|
||||||
-DBUILD_TESTING=OFF \
|
-DBUILD_TESTING=OFF \
|
||||||
"
|
"
|
||||||
|
|||||||
Reference in New Issue
Block a user