diff --git a/meta/recipes-support/gdbm/gdbm_1.23.bb b/meta/recipes-support/gdbm/gdbm_1.23.bb index a08079741d..9b32935571 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 () {