From 05d7f36548eab4fade0f0e202310027b8e4340ec Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 15 Nov 2020 00:22:03 -0800 Subject: ntopng: Link with libatomic on rv32 Fixes build errors e.g. include/c++/10.2.0/bits/atomic_base.h:426: undefined reference to `__atomic_load_8' Signed-off-by: Khem Raj --- meta-networking/recipes-support/ntopng/ntopng_4.2.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-networking/recipes-support/ntopng/ntopng_4.2.bb b/meta-networking/recipes-support/ntopng/ntopng_4.2.bb index bd2b99fab2..5961866515 100644 --- a/meta-networking/recipes-support/ntopng/ntopng_4.2.bb +++ b/meta-networking/recipes-support/ntopng/ntopng_4.2.bb @@ -28,6 +28,7 @@ export LUA_LIB = "${STAGING_LIBDIR}/liblua.a" LDFLAGS_append_mipsarch = " -latomic" LDFLAGS_append_powerpc = " -latomic" +LDFLAGS_append_riscv32 = " -latomic" inherit autotools-brokensep gettext systemd do_install_append() { -- cgit v1.2.3-54-g00ecf