From: Martin Jansa <[email protected]> * to allow building vala-native on hosts with gcc-14 * we could backport: https://gitlab.gnome.org/GNOME/vala/-/commit/23ec71b1a5c4cead3d1bdac82e184d0a63fa7b79 which is already included in scarthgap, but that's big patch doing almost the same
Signed-off-by: Martin Jansa <[email protected]> Signed-off-by: Steve Sakoman <[email protected]> --- meta/recipes-devtools/vala/vala.inc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta/recipes-devtools/vala/vala.inc b/meta/recipes-devtools/vala/vala.inc index 162e99bb03..87d8fedc3f 100644 --- a/meta/recipes-devtools/vala/vala.inc +++ b/meta/recipes-devtools/vala/vala.inc @@ -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() { -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#206525): https://lists.openembedded.org/g/openembedded-core/message/206525 Mute This Topic: https://lists.openembedded.org/mt/109283293/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
