summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-12-29 10:44:13 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-12-30 23:39:09 +0000
commit46827b861626386c5c6db6f400616a797e181233 (patch)
treebb0b52f412daaaa2f9510a72cf60dbdcf4071d51 /meta/recipes-support
parent29354c8738a71aa380077a7745f68e18b4a914e0 (diff)
downloadpoky-46827b861626386c5c6db6f400616a797e181233.tar.gz
recipes: Use -fcommon explicitly
This is needed with gcc 10 (From OE-Core rev: 312e9fe3f047547df4c21c8e666cc9aa70e15347) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/atk/at-spi2-atk_2.32.0.bb2
-rw-r--r--meta/recipes-support/gdbm/gdbm_1.18.1.bb2
2 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-support/atk/at-spi2-atk_2.32.0.bb b/meta/recipes-support/atk/at-spi2-atk_2.32.0.bb
index d3a9de1e41..b717a9c7f7 100644
--- a/meta/recipes-support/atk/at-spi2-atk_2.32.0.bb
+++ b/meta/recipes-support/atk/at-spi2-atk_2.32.0.bb
@@ -17,3 +17,5 @@ FILES_${PN}-gnome = "${libdir}/gnome-settings-daemon-3.0/gtk-modules"
17FILES_${PN}-gtk2 = "${libdir}/gtk-2.0/modules/libatk-bridge.*" 17FILES_${PN}-gtk2 = "${libdir}/gtk-2.0/modules/libatk-bridge.*"
18 18
19BBCLASSEXTEND = "native nativesdk" 19BBCLASSEXTEND = "native nativesdk"
20
21CFLAGS += "-fcommon"
diff --git a/meta/recipes-support/gdbm/gdbm_1.18.1.bb b/meta/recipes-support/gdbm/gdbm_1.18.1.bb
index 16ecc506ce..7e2efe3c9b 100644
--- a/meta/recipes-support/gdbm/gdbm_1.18.1.bb
+++ b/meta/recipes-support/gdbm/gdbm_1.18.1.bb
@@ -23,6 +23,8 @@ CACHED_CONFIGUREVARS += "ac_cv_lib_ndbm_main=no ac_cv_lib_dbm_main=no"
23 23
24BBCLASSEXTEND = "native nativesdk" 24BBCLASSEXTEND = "native nativesdk"
25 25
26CFLAGS += "-fcommon"
27
26do_install_append () { 28do_install_append () {
27 # Create a symlink to ndbm.h and gdbm.h in include/gdbm to let other packages to find 29 # Create a symlink to ndbm.h and gdbm.h in include/gdbm to let other packages to find
28 # these headers 30 # these headers