diff --git a/libsodium.spec b/libsodium.spec index b4ac301..9e8dd98 100644 --- a/libsodium.spec +++ b/libsodium.spec @@ -10,7 +10,7 @@ Name: libsodium Version: 1.0.18 -Release: 3%{?dist} +Release: 4%{?dist} Summary: The Sodium crypto library License: ISC URL: http://libsodium.org/ @@ -60,6 +60,13 @@ linking applications to use %{name}. %build +# This package has a configure test which uses ASMs, but does not link the +# resultant .o files. As such the ASM test is always successful, even on +# architectures were the ASM is not valid. The test should be fixed, +# or alternately we could consider using -ffat-lto-objects, though we +# generally recommend against that. For now, disable LTO. +%define _lto_cflags %{nil} + %configure \ --disable-silent-rules \ --disable-opt @@ -95,6 +102,9 @@ make check %changelog +* Tue Jul 14 2020 Jeff Law - 1.0.18-4 +- Disable LTO + * Wed Jan 29 2020 Fedora Release Engineering - 1.0.18-3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild