Disable LTO on riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
a0db04f273
commit
0dbd84f2ef
|
@ -10,7 +10,7 @@
|
||||||
|
|
||||||
Name: lldb
|
Name: lldb
|
||||||
Version: %{lldb_version}%{?rc_ver:~rc%{rc_ver}}
|
Version: %{lldb_version}%{?rc_ver:~rc%{rc_ver}}
|
||||||
Release: 1%{?dist}
|
Release: 1.0.riscv64%{?dist}
|
||||||
Summary: Next generation high-performance debugger
|
Summary: Next generation high-performance debugger
|
||||||
|
|
||||||
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
||||||
|
@ -71,7 +71,11 @@ The package contains the LLDB Python module.
|
||||||
%autosetup -n %{lldb_srcdir} -p2
|
%autosetup -n %{lldb_srcdir} -p2
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
%ifnarch riscv64
|
||||||
%global _lto_cflags -flto=thin
|
%global _lto_cflags -flto=thin
|
||||||
|
%else
|
||||||
|
%global _lto_cflags %{nil}
|
||||||
|
%endif
|
||||||
|
|
||||||
%cmake -GNinja \
|
%cmake -GNinja \
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
|
@ -134,6 +138,9 @@ rm -f %{buildroot}%{python3_sitearch}/six.*
|
||||||
%{python3_sitearch}/lldb
|
%{python3_sitearch}/lldb
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Mar 28 2024 David Abdurachmanov <davidlt@rivosinc.com> - 18.1.1-1.0.riscv64
|
||||||
|
- Disable LTO on riscv64
|
||||||
|
|
||||||
* Tue Mar 12 2024 Tom Stellard <tstellar@redhat.com> - 18.1.1-1
|
* Tue Mar 12 2024 Tom Stellard <tstellar@redhat.com> - 18.1.1-1
|
||||||
- 18.1.1 Release
|
- 18.1.1 Release
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue