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 <[email protected]>
---
 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() {
-- 
2.29.2

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#87952): 
https://lists.openembedded.org/g/openembedded-devel/message/87952
Mute This Topic: https://lists.openembedded.org/mt/78276699/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to