diff --git a/gtk4.spec b/gtk4.spec index 1c6e95a..fa29ebf 100644 --- a/gtk4.spec +++ b/gtk4.spec @@ -18,7 +18,7 @@ Name: gtk4 Version: 3.99.0 -Release: 1%{?dist} +Release: 2%{?dist} Summary: GTK graphical user interface library License: LGPLv2+ @@ -121,6 +121,10 @@ for writing applications with version 4 of the GTK widget toolkit. %autosetup -p1 -n gtk-%{version} %build +# This package has the usual problems with LTO vs NEON on ARM. +%ifarch armv7hl +%define _lto_cflags %{nil} +%endif export CFLAGS='-fno-strict-aliasing %optflags' %meson \ -Dx11-backend=true \ @@ -221,6 +225,9 @@ desktop-file-validate %{buildroot}%{_datadir}/applications/*.desktop %{_mandir}/man1/gtk4-widget-factory.1* %changelog +* Mon Aug 17 2020 Jeff Law - 3.99.0-2 +- Disable LTO on armv7hl + * Sat Aug 01 2020 Kalev Lember - 3.99.0-1 - Update to 3.99.0