From d4826e5aab92fafbc67d1cbb735fb55a5f263bf6 Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Fri, 5 May 2023 15:03:50 +0200 Subject: [PATCH] Build with LTO Resolves: rhbz#2188418 --- lld.spec | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lld.spec b/lld.spec index 5df3665..59d3467 100644 --- a/lld.spec +++ b/lld.spec @@ -14,7 +14,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: The LLVM Linker License: Apache-2.0 WITH LLVM-exception OR NCSA @@ -91,9 +91,6 @@ mv %{cmake_srcdir} cmake %build -# Disable lto since it causes the COFF/libpath.test lit test to crash. -%global _lto_cflags %{nil} - %cmake \ -GNinja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ @@ -161,6 +158,9 @@ fi %changelog +* Fri May 05 2023 Nikita Popov - 16.0.1-2 +- Build with LTO + * Wed Apr 19 2023 Nikita Popov - 16.0.1-1 - Update to LLVM 16.0.1