mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user