Build with LTO
Resolves: rhbz#2188418
This commit is contained in:
parent
b4d4fe0913
commit
9548a24ba0
15
lldb.spec
15
lldb.spec
@ -2,12 +2,9 @@
|
||||
%global lldb_version 16.0.1
|
||||
%global lldb_srcdir %{name}-%{lldb_version}.src
|
||||
|
||||
# LTO disabled for now to fix the build
|
||||
%global _lto_cflags %{nil}
|
||||
|
||||
Name: lldb
|
||||
Version: %{lldb_version}
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: Next generation high-performance debugger
|
||||
|
||||
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
||||
@ -18,13 +15,6 @@ Source2: release-keys.asc
|
||||
|
||||
Patch0: 0001-lldb-Change-LLVM_COMMON_CMAKE_UTILS-usage.patch
|
||||
|
||||
# RHEL only: We build LLVM with clang, which now defaults to using the
|
||||
# libstdc++ from gcc-toolset-12. Since we're linking some clang
|
||||
# tools statically to some static libraries from LLVM, we
|
||||
# need to use libstdc++12 as well. So, use gcc-toolset-12
|
||||
# to compile clang.
|
||||
BuildRequires: gcc-toolset-12-gcc-c++
|
||||
BuildRequires: gcc-toolset-12-annobin-plugin-gcc
|
||||
BuildRequires: clang
|
||||
BuildRequires: cmake
|
||||
BuildRequires: ninja-build
|
||||
@ -137,6 +127,9 @@ rm -f %{buildroot}%{python3_sitearch}/six.*
|
||||
%{python3_sitearch}/lldb
|
||||
|
||||
%changelog
|
||||
* Fri May 05 2023 Nikita Popov <npopov@redhat.com> - 16.0.1-2
|
||||
- Build with LTO
|
||||
|
||||
* Tue Apr 18 2023 Nikita Popov <npopov@redhat.com> - 16.0.1-1
|
||||
- Update to LLVM 16.0.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user