Disable LTO

This commit is contained in:
Jeff Law 2020-07-01 12:52:54 -06:00
parent 835966d9d9
commit ebf8ab268f
1 changed files with 11 additions and 1 deletions

View File

@ -20,7 +20,7 @@
Name: %{shortname}-base
Version: %{source_date}
Release: 6%{?dist}
Release: 7%{?dist}
Epoch: 7
Summary: TeX formatting system
# The only files in the base package are directories, cache, and license texts
@ -6547,6 +6547,13 @@ done
%global mysources %{lua: for index,value in ipairs(sources) do if index >= 16 then print(value.." ") end end}
%build
# The embedded cairo library has a configure script which compiles code
# and expects it to fail in a very specific way. LTO changs the failure
# mode and the cairo configure script does not know how to handle the change
# Until the configure script is fixed this seems like the best thing to do
# Disable LTO
%define _lto_cflags %{nil}
%if %{without bootstrap}
cat /usr/share/texlive/kpathsea.log || :
# DEBUG
@ -9087,6 +9094,9 @@ done <<< "$list"
%doc %{_texdir}/texmf-dist/doc/latex/yplan/
%changelog
* Wed Jul 01 2020 Jeff Law <law@redhat.com> - 7:20200327-7
- Disable LTO
* Wed May 27 2020 Tom Callaway <spot@fedoraproject.org> - 7:20200327-6
- split off context-doc (bz1839593)
- add Requires: tex(psfonts.map) to gsftopk (bz1840379)