mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
vala.eclass: adapt modern c workaround for gcc
GCC doesn't have -Wincompatible-function-pointer-types, just -Wincompatible-pointer-types, and it makes the latter fatal in GCC 14. Just adapt the workaround to use that for now until Vala is fixed properly upstream. Bug: https://bugs.gentoo.org/892708 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -174,7 +174,7 @@ vala_setup() {
|
||||
|
||||
# See bug #892708.
|
||||
# Workaround for https://gitlab.gnome.org/GNOME/vala/-/issues/1408.
|
||||
append-cflags $(test-flags-CC -Wno-incompatible-function-pointer-types)
|
||||
append-cflags $(test-flags-CC -Wno-incompatible-pointer-types)
|
||||
}
|
||||
|
||||
# @FUNCTION: vala_src_prepare
|
||||
|
||||
Reference in New Issue
Block a user