From ef90728d6afae5252d1da694916e436c8226ccff Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 30 Jun 2020 14:03:28 -0600 Subject: [PATCH] Disable LTO --- tcl.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/tcl.spec b/tcl.spec index 2a03c27..91a5253 100644 --- a/tcl.spec +++ b/tcl.spec @@ -5,7 +5,7 @@ Summary: Tool Command Language, pronounced tickle Name: tcl Version: %{vers} -Release: 2%{?dist} +Release: 3%{?dist} Epoch: 1 License: TCL URL: http://tcl.sourceforge.net/ @@ -68,6 +68,10 @@ chmod -x generic/tclStrToD.c %patch3 -p1 -b .tcltests-path-fix %build +# This package has static probes which do not work with LTO +# Disable LTO +%define _lto_cflags %{nil} + pushd unix autoconf %configure \ @@ -143,6 +147,9 @@ rm -rf %{buildroot}/%{_datadir}/%{name}%{majorver}/ldAix %{_datadir}/%{name}%{majorver}/tclAppInit.c %changelog +* Tue Jun 30 2020 Jeff Law - 1:8.6.10-3 +Disable LTO + * Wed May 13 2020 Jaroslav Škarvada - 1:8.6.10-2 - Fixed tcltests path Resolves: rhbz#1833701