From 3ff7ed6bddd1de0dcff3af18790fa300d35ee234 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Mon, 10 Aug 2020 10:16:48 -0700 Subject: [PATCH] Disable LTO --- lld.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lld.spec b/lld.spec index 042795b..a39045d 100644 --- a/lld.spec +++ b/lld.spec @@ -1,5 +1,5 @@ #%%global rc_ver 6 -%global baserelease 5 +%global baserelease 6 %global lld_srcdir lld-%{version}%{?rc_ver:rc%{rc_ver}}.src %global maj_ver 10 %global min_ver 0 @@ -84,6 +84,9 @@ LLVM regression tests. %build +# Disable lto since it causes the COFF/libpath.test lit test to crash. +%global _lto_cflags %{nil} + %cmake \ -GNinja \ -DLLVM_LINK_LLVM_DYLIB:BOOL=ON \ @@ -190,6 +193,9 @@ fi %{_datadir}/lld/lit.lld-test.cfg.py %changelog +* Mon Aug 10 2020 Tom Stellard - 10.0.0-6 +- Disable LTO + * Sat Aug 01 2020 Fedora Release Engineering - 10.0.0-5 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild