Disable LTO

This commit is contained in:
Jeff Law 2020-06-30 14:03:28 -06:00
parent d3453c4613
commit ef90728d6a
1 changed files with 8 additions and 1 deletions

View File

@ -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 <law@redhat.com> - 1:8.6.10-3
Disable LTO
* Wed May 13 2020 Jaroslav Škarvada <jskarvad@redhat.com> - 1:8.6.10-2
- Fixed tcltests path
Resolves: rhbz#1833701