Disable LTO on riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
aca22ab790
commit
074396c7a5
9
tcl.spec
9
tcl.spec
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user