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:
Khem Raj 2020-08-13 11:59:11 -07:00
parent 5b21133082
commit 646429ef0a

View File

@ -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}"