Build with LTO
Resolves: rhbz#2188418
This commit is contained in:
parent
d2dbf70a14
commit
d4826e5aab
8
lld.spec
8
lld.spec
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
Name: %{pkg_name}
|
Name: %{pkg_name}
|
||||||
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
|
Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}}
|
||||||
Release: 1%{?dist}
|
Release: 2%{?dist}
|
||||||
Summary: The LLVM Linker
|
Summary: The LLVM Linker
|
||||||
|
|
||||||
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
License: Apache-2.0 WITH LLVM-exception OR NCSA
|
||||||
@ -91,9 +91,6 @@ mv %{cmake_srcdir} cmake
|
|||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
# Disable lto since it causes the COFF/libpath.test lit test to crash.
|
|
||||||
%global _lto_cflags %{nil}
|
|
||||||
|
|
||||||
%cmake \
|
%cmake \
|
||||||
-GNinja \
|
-GNinja \
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
@ -161,6 +158,9 @@ fi
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri May 05 2023 Nikita Popov <npopov@redhat.com> - 16.0.1-2
|
||||||
|
- Build with LTO
|
||||||
|
|
||||||
* Wed Apr 19 2023 Nikita Popov <npopov@redhat.com> - 16.0.1-1
|
* Wed Apr 19 2023 Nikita Popov <npopov@redhat.com> - 16.0.1-1
|
||||||
- Update to LLVM 16.0.1
|
- Update to LLVM 16.0.1
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user