mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-03 14:19:52 +00:00
capnproto: Link with libatomic on rv32
Fixes riscv32-yoe-linux-ld: layout.c++:(.text+0x570e): undefined reference to `__atomic_load_8' Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -14,6 +14,7 @@ S = "${WORKDIR}/git/c++"
|
|||||||
inherit cmake
|
inherit cmake
|
||||||
|
|
||||||
CXXFLAGS:append:mips = " -latomic"
|
CXXFLAGS:append:mips = " -latomic"
|
||||||
|
CXXFLAGS:append:riscv32 = " -latomic"
|
||||||
|
|
||||||
EXTRA_OECMAKE += "\
|
EXTRA_OECMAKE += "\
|
||||||
-DBUILD_TESTING=OFF \
|
-DBUILD_TESTING=OFF \
|
||||||
|
|||||||
Reference in New Issue
Block a user