Disable LTO

epel9
Jeff Law 5 years ago
parent 9f8789f4cd
commit ae428718b8

@ -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 <law@redhat.com> - 1.0.18-4
- Disable LTO
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

Loading…
Cancel
Save