From b0598bca1aa67c2044c2973db0cff993ecaf801f Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Sun, 5 Apr 2020 08:47:05 -0700 Subject: mraa: Use -fcommon gcc10 is going to default to -fno-common which is opposite of all previous gcc version defaults, ideally package should be fixed so it can work with -fno-common but this is good enough for now, it does not change default behavious with older compilers Signed-off-by: Khem Raj --- meta-oe/recipes-extended/mraa/mraa_git.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta-oe/recipes-extended') diff --git a/meta-oe/recipes-extended/mraa/mraa_git.bb b/meta-oe/recipes-extended/mraa/mraa_git.bb index e702ce0ba9..403d641ee9 100644 --- a/meta-oe/recipes-extended/mraa/mraa_git.bb +++ b/meta-oe/recipes-extended/mraa/mraa_git.bb @@ -27,6 +27,8 @@ EXTRA_OECMAKE_append = " -DINSTALLTOOLS:BOOL=ON -DFIRMATA=ON -DCMAKE_SKIP_RPATH= -DPYTHON_INCLUDE_DIR=${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI} \ " +CFLAGS += "-fcommon" + # Prepend mraa-utils to make sure bindir ends up in there PACKAGES =+ "${PN}-utils" -- cgit 1.2.3-korg