Disable LTO on armv7hl for now

This commit is contained in:
Jeff Law 2020-08-17 17:25:09 -06:00
parent 68a8f80bb5
commit 5aadd8fa94

View File

@ -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 <law@redhat.com> - 3.99.0-2
- Disable LTO on armv7hl
* Sat Aug 01 2020 Kalev Lember <klember@redhat.com> - 3.99.0-1
- Update to 3.99.0