aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2020-08-13 11:59:11 -0700
committerKhem Raj <raj.khem@gmail.com>2020-08-13 22:37:48 -0700
commit646429ef0a67f18812476cafd4d256bbbee2b8c9 (patch)
treec83e1e0fc98cbe1a1ca0ca69ce5df72e7e747aec
parent5b21133082582d78fda0fd616731428987fbf23e (diff)
downloadmeta-openembedded-contrib-646429ef0a67f18812476cafd4d256bbbee2b8c9.tar.gz
meta-openembedded-contrib-646429ef0a67f18812476cafd4d256bbbee2b8c9.tar.bz2
meta-openembedded-contrib-646429ef0a67f18812476cafd4d256bbbee2b8c9.zip
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>
-rw-r--r--meta-oe/recipes-extended/fluentbit/fluentbit_1.3.5.bb2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit_1.3.5.bb b/meta-oe/recipes-extended/fluentbit/fluentbit_1.3.5.bb
index 21d13ac935..411268815a 100644
--- a/meta-oe/recipes-extended/fluentbit/fluentbit_1.3.5.bb
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit_1.3.5.bb
@@ -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}"