summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-03-19 01:16:04 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-03-19 09:48:14 +0000
commit979162b032bf0a99bd8351296c8701820c385295 (patch)
tree119800b02a099a8dcd9d2f07fca816b0aecd43fd /meta
parent983b0a6f3bab8c0dbfb6e86b8d630b058e3d1bdf (diff)
downloadpoky-979162b032bf0a99bd8351296c8701820c385295.tar.gz
ncurses: Pin to C17 standard
Newer snapshots of ncurses have the fixes but they are many needed to get C23 going. Until next release lets stick with C17 even while GCC 15 switches to C23 defaults. (From OE-Core rev: f3081700d931fc8f7d5cb13494e11100cb28b19f) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/ncurses/ncurses.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 3f93550cf9..1e9ec38cea 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -28,6 +28,9 @@ ENABLE_WIDEC ?= "true"
28# _GNU_SOURCE is required for widec stuff and is not detected automatically 28# _GNU_SOURCE is required for widec stuff and is not detected automatically
29CPPFLAGS += "-D_GNU_SOURCE" 29CPPFLAGS += "-D_GNU_SOURCE"
30 30
31# Check if we still need it when next release (6.6) happens
32CFLAGS += "-std=gnu17"
33
31# natives don't generally look in base_libdir 34# natives don't generally look in base_libdir
32base_libdir:class-native = "${libdir}" 35base_libdir:class-native = "${libdir}"
33 36