summaryrefslogtreecommitdiffstats
path: root/meta-oe
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2025-05-01 23:54:57 -0700
committerKhem Raj <raj.khem@gmail.com>2025-05-02 00:00:29 -0700
commit6996418dc532fd728049b8f9fb3e7101b4af9ff0 (patch)
tree118527d45038f0777340e2f724dab230973eb6af /meta-oe
parent4dc29cb1b0ff3bbedc333da178885a3994bae86b (diff)
downloadmeta-openembedded-6996418dc532fd728049b8f9fb3e7101b4af9ff0.tar.gz
libsdl: Stick to C17 dialect
GCC-15 defaults to C23 and this component is almost dead. it still is needed by few other recipes so keep it going but ideally removing it might be a better thing to do in near future Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe')
-rw-r--r--meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb b/meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb
index 2ccedae3ec..35870c4814 100644
--- a/meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb
+++ b/meta-oe/recipes-graphics/libsdl/libsdl_1.2.15.bb
@@ -40,7 +40,9 @@ BINCONFIG = "${bindir}/sdl-config"
40inherit autotools lib_package binconfig-disabled pkgconfig 40inherit autotools lib_package binconfig-disabled pkgconfig
41 41
42CVE_PRODUCT = "simple_directmedia_layer sdl" 42CVE_PRODUCT = "simple_directmedia_layer sdl"
43 43# GCC15/C23 results in following errors
44# ../SDL-1.2.15/src/video/Xext/XME/xme.c:218:5: error: initialization of 'int (*)(Display *, XExtCodes *)' from incompatible pointer type 'int (*)(void)' [-Wincompatible-pointer-types]
45CFLAGS += "-std=c17"
44EXTRA_OECONF = "--disable-static --enable-cdrom --enable-threads --enable-timers \ 46EXTRA_OECONF = "--disable-static --enable-cdrom --enable-threads --enable-timers \
45 --enable-file --disable-oss --disable-esd --disable-arts \ 47 --enable-file --disable-oss --disable-esd --disable-arts \
46 --disable-diskaudio --disable-nas \ 48 --disable-diskaudio --disable-nas \