mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-05 02:50:46 +00:00
fluentbit: Use -fcommon to compile
gcc10+ defaults to -fno-common and fluentbit does not compile with -fno-common Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -54,5 +54,7 @@ EXTRA_OECMAKE_append_riscv64 = " -DFLB_DEPS='atomic'"
|
||||
|
||||
inherit cmake systemd
|
||||
|
||||
CFLAGS += "-fcommon"
|
||||
|
||||
SYSTEMD_SERVICE_${PN} = "td-agent-bit.service"
|
||||
TARGET_CC_ARCH_append = " ${SELECTED_OPTIMIZATION}"
|
||||
|
||||
Reference in New Issue
Block a user