From: Khem Raj Date: Thu, 21 Aug 2025 22:42:59 +0000 (+0200) Subject: gdbm: Use C11 standard X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=97989d81c5e30434594beadd9449e907e98d3ceb;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. For scarthgap also add it in BUILD_CFLAGS. Signed-off-by: Khem Raj Signed-off-by: Richard Purdie Signed-off-by: Martin Jansa Signed-off-by: Steve Sakoman --- diff --git a/meta/recipes-support/gdbm/gdbm_1.23.bb b/meta/recipes-support/gdbm/gdbm_1.23.bb index a08079741df..9b32935571c 100644 --- a/meta/recipes-support/gdbm/gdbm_1.23.bb +++ b/meta/recipes-support/gdbm/gdbm_1.23.bb @@ -23,6 +23,10 @@ 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" +BUILD_CFLAGS += "-std=gnu11" + BBCLASSEXTEND = "native nativesdk" do_install:append () {