summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-08-22 00:42:59 +0200
committerSteve Sakoman <steve@sakoman.com>2025-09-01 08:30:56 -0700
commit2a0bd475e827952b6d97348693ed8a1faac957ec (patch)
tree046e97bb4f97d18f919e3a616ca5486e64809459 /meta
parent0fdc4f72f599c79a37baa15e909c6379556d87a2 (diff)
downloadpoky-2a0bd475e827952b6d97348693ed8a1faac957ec.tar.gz
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. (From OE-Core rev: 97989d81c5e30434594beadd9449e907e98d3ceb) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Martin Jansa <martin.jansa@gmail.com> Signed-off-by: Steve Sakoman <steve@sakoman.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/gdbm/gdbm_1.23.bb4
1 files changed, 4 insertions, 0 deletions
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"
23# Stop presence of dbm/nbdm on the host contaminating builds 23# Stop presence of dbm/nbdm on the host contaminating builds
24CACHED_CONFIGUREVARS += "ac_cv_lib_ndbm_main=no ac_cv_lib_dbm_main=no" 24CACHED_CONFIGUREVARS += "ac_cv_lib_ndbm_main=no ac_cv_lib_dbm_main=no"
25 25
26# Not yet ready for C23
27CFLAGS += "-std=gnu11"
28BUILD_CFLAGS += "-std=gnu11"
29
26BBCLASSEXTEND = "native nativesdk" 30BBCLASSEXTEND = "native nativesdk"
27 31
28do_install:append () { 32do_install:append () {