vala: add -Wno-error=incompatible-pointer-types work around

* to allow building vala-native on hosts with gcc-14
* we could backport:
  23ec71b1a5
  which is already included in scarthgap, but that's big patch doing almost the same

(From OE-Core rev: 0f850f213071d4bc3a7065334debabd32c7bd9a1)

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Steve Sakoman <steve@sakoman.com>
This commit is contained in:
Martin Jansa
2024-10-27 15:12:11 +01:00
committed by Steve Sakoman
parent 7aee2667d1
commit b8984370a5

View File

@@ -39,6 +39,10 @@ EOF
EXTRA_OECONF += " --disable-valadoc"
# work around for vala-native build with gcc-14 instead of backporting
# https://gitlab.gnome.org/GNOME/vala/-/commit/23ec71b1a5c4cead3d1bdac82e184d0a63fa7b79
BUILD_CFLAGS += "-Wno-error=incompatible-pointer-types"
# Vapigen wrapper needs to be available system-wide, because it will be used
# to build vapi files from all other packages with vala support
do_install:append:class-target() {