diff options
author | Khem Raj <raj.khem@gmail.com> | 2025-08-22 00:42:59 +0200 |
---|---|---|
committer | Steve Sakoman <steve@sakoman.com> | 2025-09-01 08:30:56 -0700 |
commit | 2a0bd475e827952b6d97348693ed8a1faac957ec (patch) | |
tree | 046e97bb4f97d18f919e3a616ca5486e64809459 | |
parent | 0fdc4f72f599c79a37baa15e909c6379556d87a2 (diff) | |
download | poky-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>
-rw-r--r-- | meta/recipes-support/gdbm/gdbm_1.23.bb | 4 |
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 |
24 | CACHED_CONFIGUREVARS += "ac_cv_lib_ndbm_main=no ac_cv_lib_dbm_main=no" | 24 | CACHED_CONFIGUREVARS += "ac_cv_lib_ndbm_main=no ac_cv_lib_dbm_main=no" |
25 | 25 | ||
26 | # Not yet ready for C23 | ||
27 | CFLAGS += "-std=gnu11" | ||
28 | BUILD_CFLAGS += "-std=gnu11" | ||
29 | |||
26 | BBCLASSEXTEND = "native nativesdk" | 30 | BBCLASSEXTEND = "native nativesdk" |
27 | 31 | ||
28 | do_install:append () { | 32 | do_install:append () { |