From 1a101848f5a17c7d02f464f4a1ad288551a482b7 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sat, 11 Jul 2020 11:56:06 -0600 Subject: [PATCH] Disable LTO --- ldc.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/ldc.spec b/ldc.spec index 9b6bf90..1dfb085 100644 --- a/ldc.spec +++ b/ldc.spec @@ -19,7 +19,7 @@ Name: ldc Epoch: 1 Version: 1.20.1%{?pre:~%{pre}} -Release: 1%{?dist} +Release: 2%{?dist} Summary: LLVM D Compiler # The DMD frontend in dmd/* GPL version 1 or artistic license @@ -156,6 +156,11 @@ Active l'autocompletion pour pour la bibliothèque phobos dans geany (IDE) mkdir geany_config %build +# This package appears to be failing because links to the LLVM plugins +# are not installed which results in the tools not being able to +# interpret the .o/.a files. Disable LTO for now +%define _lto_cflags %{nil} + %global optflags %{optflags} -fno-strict-aliasing %if 0%{?bootstrap} @@ -271,6 +276,9 @@ install -m0644 phobos.d.tags %{buildroot}/%{_datadir}/geany/tags/ %{_datadir}/geany/tags/phobos.d.tags %changelog +* Sat Mar 07 2020 Jeff Law - 1:1.20.1-2 +- Disable LTO + * Sat Mar 07 2020 Kalev Lember - 1:1.20.1-1 - Update to 1.20.1