diff options
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/vala.eclass | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/eclass/vala.eclass b/eclass/vala.eclass index 11f8e52f92dd..d02cc246977a 100644 --- a/eclass/vala.eclass +++ b/eclass/vala.eclass @@ -22,6 +22,8 @@ esac if [[ -z ${_VALA_ECLASS} ]] ; then _VALA_ECLASS=1 +inherit flag-o-matic + # @ECLASS_VARIABLE: VALA_MIN_API_VERSION # @DESCRIPTION: # Minimum vala API version (e.g. 0.56). @@ -169,6 +171,10 @@ vala_setup() { done : "${PKG_CONFIG_PATH:="${EPREFIX}/usr/$(get_libdir)/pkgconfig:${EPREFIX}/usr/share/pkgconfig"}" export PKG_CONFIG_PATH="${T}/pkgconfig:${PKG_CONFIG_PATH}" + + # See bug #892708. + # Workaround for https://gitlab.gnome.org/GNOME/vala/-/issues/1408. + append-cflags $(test-flags-CC -Wno-incompatible-function-pointer-types) } # @FUNCTION: vala_src_prepare |