Reduce GCC 14 type safety on i686

Issue has been reported upstream, but no fix yet:

https://gitlab.gnome.org/GNOME/gtk/-/issues/6033
This commit is contained in:
Yaakov Selkowitz 2024-02-07 14:17:15 -05:00
parent 6319ac0b6a
commit c71937dd0d

View File

@ -15,6 +15,14 @@
# Filter provides for private modules # Filter provides for private modules
%global __provides_exclude_from ^%{_libdir}/gtk-4.0 %global __provides_exclude_from ^%{_libdir}/gtk-4.0
# FTBFS on i686 with GCC 14 -Werror=int-conversion
# https://gitlab.gnome.org/GNOME/gtk/-/issues/6033
%if 0%{?fedora} >= 40 || 0%{?rhel} >= 10
%ifarch %{ix86}
%global build_type_safety_c 1
%endif
%endif
Name: gtk4 Name: gtk4
Version: 4.13.6 Version: 4.13.6
Release: %autorelease Release: %autorelease