From 38deb044f80ac36a27cf5b746564b58d139654b1 Mon Sep 17 00:00:00 2001 From: Gwyn Ciesla Date: Wed, 2 Aug 2023 16:35:25 -0500 Subject: [PATCH] Disable lto on i686 --- inkscape.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/inkscape.spec b/inkscape.spec index d5c6fcf..b8e16a9 100644 --- a/inkscape.spec +++ b/inkscape.spec @@ -10,7 +10,7 @@ Name: inkscape Version: 1.3 -Release: 3%{?dist} +Release: 4%{?dist} Summary: Vector-based drawing program using SVG # Inkscape tags their releases with underscores and in ALLCAPS @@ -148,6 +148,12 @@ find . -name '*.h' | xargs chmod -x dos2unix -k -q share/extensions/*.py %build + +%ifarch %{ix86} +# FTBFS on i686 with LTO enabled +%define _lto_cflags %{nil} +%endif + %cmake3 \ -DWITH_GRAPHICS_MAGICK=%{?with_graphicsmagick:ON}%{!?with_graphicsmagick:OFF} \ -DWITH_IMAGE_MAGICK=%{?with_imagemagick:ON}%{!?with_imagemagick:OFF} \ @@ -232,6 +238,9 @@ desktop-file-validate $RPM_BUILD_ROOT%{_datadir}/applications/org.inkscape.Inksc %changelog +* Wed Aug 02 2023 Gwyn Ciesla - 1.3-4 +- No lto on i686 + * Wed Aug 02 2023 Gwyn Ciesla - 1.3-3 - Restore i686 for f38. - Poppler rebuild.