Skip to contentSkip to conversation

ntopng: Link with libatomic on rv32

PATCH New Khem Raj 1 participant 1 message Nov 15, 2020

lore
Share & tools
lore

Khem Raj

author
#0 lore raw

PATCH 1/1 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'

---
 meta-networking/recipes-support/ntopng/ntopng_4.2.bb | 1 +
 1 file changed, 1 insertion(+)
meta-networking/recipes-support/ntopng/ntopng_4.2.bb +1 -0
index bd2b99fab2..5961866515 100644
@@ -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() {
Signature · 1 line
2.29.2