diff options
author | Khem Raj <raj.khem@gmail.com> | 2020-04-05 08:47:05 -0700 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-04-05 10:38:14 -0700 |
commit | b0598bca1aa67c2044c2973db0cff993ecaf801f (patch) | |
tree | b5eafd77786fa2d8c92adde3d64d22549b8fe9fc /meta-oe/recipes-extended | |
parent | 4e423ff9435e0e5e753cc18e91d51e7ceeccdacc (diff) | |
download | meta-openembedded-b0598bca1aa67c2044c2973db0cff993ecaf801f.tar.gz |
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 <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r-- | meta-oe/recipes-extended/mraa/mraa_git.bb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/mraa/mraa_git.bb b/meta-oe/recipes-extended/mraa/mraa_git.bb index e702ce0ba..403d641ee 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= | |||
27 | -DPYTHON_INCLUDE_DIR=${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI} \ | 27 | -DPYTHON_INCLUDE_DIR=${STAGING_INCDIR}/${PYTHON_DIR}${PYTHON_ABI} \ |
28 | " | 28 | " |
29 | 29 | ||
30 | CFLAGS += "-fcommon" | ||
31 | |||
30 | # Prepend mraa-utils to make sure bindir ends up in there | 32 | # Prepend mraa-utils to make sure bindir ends up in there |
31 | PACKAGES =+ "${PN}-utils" | 33 | PACKAGES =+ "${PN}-utils" |
32 | 34 | ||