diff mbox series

[[PATCH,v2,05/25] gdbm: Use C11 standard

Message ID 20250318183842.2256284-5-raj.khem@gmail.com
State New
Headers show
Series [[PATCH,v2,01/25] webkitgtk: 2.46.6 -> 2.48.0 | expand

Commit Message

Khem Raj March 18, 2025, 6:38 p.m. UTC
GCC15 is switching defaults to C23 and gdbm is not yet ready to
compile using C23 std.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
 meta/recipes-support/gdbm/gdbm_1.24.bb | 3 +++
 1 file changed, 3 insertions(+)
diff mbox series

Patch

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 () {