diff options
| author | Khem Raj <raj.khem@gmail.com> | 2020-11-15 00:22:03 -0800 |
|---|---|---|
| committer | Khem Raj <raj.khem@gmail.com> | 2020-11-15 12:25:54 -0800 |
| commit | 05d7f36548eab4fade0f0e202310027b8e4340ec (patch) | |
| tree | 97237353b26881de13e1d594bfed49f2ce5071ff | |
| parent | f21d8554883e958b96d47fe0cdb9c6e18ff52209 (diff) | |
| download | meta-openembedded-05d7f36548eab4fade0f0e202310027b8e4340ec.tar.gz | |
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 <raj.khem@gmail.com>
| -rw-r--r-- | meta-networking/recipes-support/ntopng/ntopng_4.2.bb | 1 |
1 files changed, 1 insertions, 0 deletions
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" | |||
| 28 | 28 | ||
| 29 | LDFLAGS_append_mipsarch = " -latomic" | 29 | LDFLAGS_append_mipsarch = " -latomic" |
| 30 | LDFLAGS_append_powerpc = " -latomic" | 30 | LDFLAGS_append_powerpc = " -latomic" |
| 31 | LDFLAGS_append_riscv32 = " -latomic" | ||
| 31 | inherit autotools-brokensep gettext systemd | 32 | inherit autotools-brokensep gettext systemd |
| 32 | 33 | ||
| 33 | do_install_append() { | 34 | do_install_append() { |
