From 312e9fe3f047547df4c21c8e666cc9aa70e15347 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 Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-support/gdbm/gdbm_1.18.1.bb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'meta/recipes-support/gdbm') 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" BBCLASSEXTEND = "native nativesdk" +CFLAGS += "-fcommon" + do_install_append () { # Create a symlink to ndbm.h and gdbm.h in include/gdbm to let other packages to find # these headers -- cgit 1.2.3-korg