mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-07 03:29:59 +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
|
inherit cmake systemd
|
||||||
|
|
||||||
|
CFLAGS += "-fcommon"
|
||||||
|
|
||||||
SYSTEMD_SERVICE_${PN} = "td-agent-bit.service"
|
SYSTEMD_SERVICE_${PN} = "td-agent-bit.service"
|
||||||
TARGET_CC_ARCH_append = " ${SELECTED_OPTIMIZATION}"
|
TARGET_CC_ARCH_append = " ${SELECTED_OPTIMIZATION}"
|
||||||
|
|||||||
Reference in New Issue
Block a user