Disable LTO
This commit is contained in:
parent
770370008a
commit
8dbddeea40
@ -1,7 +1,7 @@
|
||||
Name: lksctp-tools
|
||||
Summary: User-space access to Linux Kernel SCTP
|
||||
Version: 1.0.18
|
||||
Release: 4%{?dist}
|
||||
Release: 5%{?dist}
|
||||
# src/apps/bindx_test.C is GPLv2, I've asked upstream for clarification
|
||||
License: GPLv2 and GPLv2+ and LGPLv2 and MIT
|
||||
Group: System Environment/Libraries
|
||||
@ -58,6 +58,14 @@ Drafts).
|
||||
%patch6 -p1
|
||||
|
||||
%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}
|
||||
|
||||
[ ! -x ./configure ] && sh bootstrap
|
||||
%configure --disable-static
|
||||
# remove rpath from libtool
|
||||
@ -96,6 +104,9 @@ find $RPM_BUILD_ROOT -type f -name "*.la" -delete
|
||||
%doc doc/*.txt
|
||||
|
||||
%changelog
|
||||
* Wed Jul 01 2020 Jeff Law <law@redhat.com> - 1.0.18-5
|
||||
- Disable LTO
|
||||
|
||||
* Wed Jan 29 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.18-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user