mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-11-13 15:47:23 +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:
1 parent
d9ec74d4c2
commit
5f62cb59a4
1 file changed
+1
@@ -14,6 +14,7 @@ S = "${WORKDIR}/git/c++"
|
||||
inherit cmake
|
||||
|
||||
CXXFLAGS:append:mips = " -latomic"
|
||||
CXXFLAGS:append:riscv32 = " -latomic"
|
||||
|
||||
EXTRA_OECMAKE += "\
|
||||
-DBUILD_TESTING=OFF \
|
||||
|
||||
Reference in new issue
Block a user