From 186495914aec75dc5eae682819c4081141942076 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 1 Jul 2020 15:19:14 -0600 Subject: [PATCH] Disable LTO --- keepassxc.spec | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/keepassxc.spec b/keepassxc.spec index 49e041b..bd7b028 100644 --- a/keepassxc.spec +++ b/keepassxc.spec @@ -2,7 +2,7 @@ Name: keepassxc Version: 2.5.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Cross-platform password manager License: Boost and BSD and CC0 and GPLv3 and LGPLv2 and LGPLv2+ and LGPLv3+ and Public Domain URL: http://www.keepassxc.org/ @@ -61,6 +61,12 @@ information can be considered as quite safe. %autosetup %build +# This package fails to build with LTO due to undefined symbols. LTO +# was disabled in OpenSuSE as well, but with no real explanation why +# beyond the undefined symbols. It really shold be investigated further. +# Disable LTO +%define _lto_cflags %{nil} + mkdir build cd build @@ -122,6 +128,9 @@ appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/org.%{nam %{_mandir}/man1/%{name}.1* %changelog +* Wed Jul 01 2020 Jeff Law - 2.5.4-2 +- Diable LTO + * Thu Apr 09 2020 Mukundan Ragavan - 2.5.4-1 - Update to 2.5.4