Disable lto on i686
This commit is contained in:
parent
2d0b70a145
commit
38deb044f8
@ -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 <gwync@protonmail.com> - 1.3-4
|
||||
- No lto on i686
|
||||
|
||||
* Wed Aug 02 2023 Gwyn Ciesla <gwync@protonmail.com> - 1.3-3
|
||||
- Restore i686 for f38.
|
||||
- Poppler rebuild.
|
||||
|
Loading…
x
Reference in New Issue
Block a user