Disable LTO on riscv64

Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
David Abdurachmanov 2022-09-05 09:44:41 +03:00
parent aca22ab790
commit 074396c7a5
Signed by: davidlt
GPG Key ID: 8B7F1DA0E2C9FDBB
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: 3%{?dist}
Release: 3.0.riscv64%{?dist}
Epoch: 1
License: TCL
URL: http://tcl.sourceforge.net/
@ -69,6 +69,10 @@ chmod -x generic/tclStrToD.c
%patch3 -p1 -b .tcltests-path-fix
%build
%ifarch riscv64
%define _lto_cflags %{nil}
%endif
pushd unix
autoconf
%configure \
@ -144,6 +148,9 @@ rm -rf %{buildroot}/%{_datadir}/%{name}%{majorver}/ldAix
%{_datadir}/%{name}%{majorver}/tclAppInit.c
%changelog
* Mon Sep 05 2022 David Abdurachmanov <davidlt@rivosinc.com> - 1:8.6.12-3.0.riscv64
- Disable LTO for riscv64
* Sat Jul 23 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1:8.6.12-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild