From ebf8ab268f0f4981193f1b3cebbe2c0817861f61 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 1 Jul 2020 12:52:54 -0600 Subject: [PATCH] Disable LTO --- texlive-base.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/texlive-base.spec b/texlive-base.spec index 2124280..e08a110 100644 --- a/texlive-base.spec +++ b/texlive-base.spec @@ -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 - 7:20200327-7 +- Disable LTO + * Wed May 27 2020 Tom Callaway - 7:20200327-6 - split off context-doc (bz1839593) - add Requires: tex(psfonts.map) to gsftopk (bz1840379)