From 46827b861626386c5c6db6f400616a797e181233 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 29 Dec 2019 10:44:13 -0800 Subject: recipes: Use -fcommon explicitly This is needed with gcc 10 (From OE-Core rev: 312e9fe3f047547df4c21c8e666cc9aa70e15347) Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-connectivity/socat/socat_1.7.3.3.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/recipes-connectivity/socat/socat_1.7.3.3.bb') diff --git a/meta/recipes-connectivity/socat/socat_1.7.3.3.bb b/meta/recipes-connectivity/socat/socat_1.7.3.3.bb index 1dbbe5cd55..ee01578c1a 100644 --- a/meta/recipes-connectivity/socat/socat_1.7.3.3.bb +++ b/meta/recipes-connectivity/socat/socat_1.7.3.3.bb @@ -44,6 +44,8 @@ PACKAGECONFIG ??= "readline" PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers" PACKAGECONFIG[readline] = "--enable-readline,--disable-readline,readline" +CFLAGS += "-fcommon" + do_install_prepend () { mkdir -p ${D}${bindir} install -d ${D}${bindir} ${D}${mandir}/man1 -- cgit v1.2.3-54-g00ecf