mirror of
https://git.yoctoproject.org/git/poky
synced 2026-01-01 13:58:04 +00:00
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. For scarthgap also add it in BUILD_CFLAGS. (From OE-Core rev: 2ee706f58a96f30904ac3d292c0ac532739c91ea) 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>
This commit is contained in:
parent
766dfe5115
commit
8ade657e16
|
|
@ -30,6 +30,10 @@ ENABLE_WIDEC ?= "true"
|
|||
# _GNU_SOURCE is required for widec stuff and is not detected automatically
|
||||
CPPFLAGS += "-D_GNU_SOURCE"
|
||||
|
||||
# Check if we still need it when next release (6.6) happens
|
||||
CFLAGS += "-std=gnu17"
|
||||
BUILD_CFLAGS += "-std=gnu17"
|
||||
|
||||
# natives don't generally look in base_libdir
|
||||
base_libdir:class-native = "${libdir}"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user