From e0f13f9bc96a0dd4c5f6750a8106422a6d015359 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Wed, 19 Mar 2025 01:15:33 -0700 Subject: [PATCH] gdbm: Use C11 standard GCC15 is switching defaults to C23 and gdbm is not yet ready to compile using C23 std. Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- meta/recipes-support/gdbm/gdbm_1.24.bb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meta/recipes-support/gdbm/gdbm_1.24.bb b/meta/recipes-support/gdbm/gdbm_1.24.bb index 88f9fa47cf5..8e3cec42957 100644 --- a/meta/recipes-support/gdbm/gdbm_1.24.bb +++ b/meta/recipes-support/gdbm/gdbm_1.24.bb @@ -23,6 +23,9 @@ EXTRA_OECONF = "--enable-libgdbm-compat --without-readline" # Stop presence of dbm/nbdm on the host contaminating builds CACHED_CONFIGUREVARS += "ac_cv_lib_ndbm_main=no ac_cv_lib_dbm_main=no" +# Not yet ready for C23 +CFLAGS += "-std=gnu11" + BBCLASSEXTEND = "native nativesdk" do_install:append () { -- 2.47.3