diff --git a/mpdecimal.spec b/mpdecimal.spec index ca7e443..e682961 100644 --- a/mpdecimal.spec +++ b/mpdecimal.spec @@ -3,7 +3,7 @@ Name: mpdecimal Version: 2.4.2 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Library for general decimal arithmetic License: BSD @@ -46,6 +46,12 @@ The package contains documentation for the mpdecimal library. unzip -d tests/testdata %{SOURCE1} %build +# configure tests try to compile code containing ASMs to a .o file +# In an LTO world, that always works as compilation does not happen until +# link time. As a result we get the wrong results from configure. +# Disable LTO. +%define _lto_cflags %{nil} + %configure make %{?_smp_mflags} @@ -80,6 +86,9 @@ fi %ldconfig_scriptlets %changelog +* Tue Jun 30 2020 Jeff Law - 2.4.2-14 +Disable LTO + * Wed Jan 29 2020 Fedora Release Engineering - 2.4.2-13 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild