Disable LTO

epel9
Jeff Law 5 years ago
parent c5fc315a90
commit 5507d1e578

@ -1,6 +1,6 @@
Name: libbsd Name: libbsd
Version: 0.10.0 Version: 0.10.0
Release: 2%{?dist} Release: 3%{?dist}
Summary: Library providing BSD-compatible functions for portability Summary: Library providing BSD-compatible functions for portability
URL: http://libbsd.freedesktop.org/ URL: http://libbsd.freedesktop.org/
License: BSD and ISC and Copyright only and Public Domain License: BSD and ISC and Copyright only and Public Domain
@ -42,6 +42,14 @@ configured using "pkg-config --libs libbsd-ctor".
%endif %endif
%build %build
# This package uses top level ASM constructs which are incompatible with LTO.
# Top level ASMs are often used to implement symbol versioning. gcc-10
# introduces a new mechanism for symbol versioning which works with LTO.
# Converting packages to use that mechanism instead of toplevel ASMs is
# recommended.
# Disable LTO
%define _lto_cflags %{nil}
%configure %configure
%make_build V=1 %make_build V=1
@ -79,6 +87,9 @@ rm %{buildroot}%{_mandir}/man3/explicit_bzero.3bsd
%{_libdir}/pkgconfig/%{name}-ctor.pc %{_libdir}/pkgconfig/%{name}-ctor.pc
%changelog %changelog
* Wed Jul 1 2020 Jeff Law <law@redhat.com> - 0.10.0-3
- Disable LTO
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-2 * Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.10.0-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

Loading…
Cancel
Save