fluentbit: Link with libatomic on riscv

jemalloc uses libatomic functions

Fixes
../lib/libjemalloc_pic.a(extent_dss.pic.o): in function `extent_dss_extend
ing_start':
| /usr/src/debug/fluentbit/1.3.5-r0/fluent-bit-1.3.5/lib/jemalloc-5.2.1/src/extent_dss.c:75: undefined reference to `__atomic_compare
_exchange_1'

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2020-01-28 16:39:33 -08:00
parent ae4adf2849
commit 371b16a14e
@@ -43,6 +43,8 @@ EXTRA_OECMAKE += "-DFLB_SHARED_LIB=Off -DFLB_EXAMPLES=Off "
EXTRA_OECMAKE += "${@bb.utils.contains('DISTRO_FEATURES','systemd','-DFLB_SYSTEMD=On','',d)}"
EXTRA_OECMAKE_append_riscv64 = " -DFLB_DEPS='atomic'"
# Kafka Output plugin (disabled by default): note that when
# enabling Kafka output plugin, the backend library librdkafka
# requires 'openssl' as a dependency.