From 0dffbbc0c72449c0631bd397e690b8144fe87793 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Mon, 16 Sep 2024 20:44:53 -0700 Subject: ot-br-posix: Link with libatomic on rv32 Signed-off-by: Khem Raj --- meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb b/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb index e5f8db24d4..ec930de275 100644 --- a/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb +++ b/meta-networking/recipes-connectivity/openthread/ot-br-posix_git.bb @@ -29,6 +29,8 @@ inherit pkgconfig cmake systemd # for (uint8_t i = 0;; i++) CXXFLAGS:append:libc-musl:toolchain-clang = " -Wno-error=sign-compare -Wno-error=unused-but-set-variable" +LDFLAGS:append:riscv32 = " -latomic" + EXTRA_OECMAKE = "-DBUILD_TESTING=OFF \ -DOTBR_DBUS=ON \ -DOTBR_REST=ON \ -- cgit v1.2.3-54-g00ecf