From: Khem Raj Date: Wed, 19 Mar 2025 08:15:33 +0000 (-0700) Subject: gdbm: Use C11 standard X-Git-Tag: yocto-5.2~147 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e0f13f9bc96a0dd4c5f6750a8106422a6d015359;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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 --- 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 () {