Disable LTO
This commit is contained in:
parent
5817d8b7bc
commit
abad9da95a
@ -1,6 +1,6 @@
|
|||||||
Name: rdma-core
|
Name: rdma-core
|
||||||
Version: 30.0
|
Version: 30.0
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: RDMA core userspace libraries and daemons
|
Summary: RDMA core userspace libraries and daemons
|
||||||
|
|
||||||
# Almost everything is licensed under the OFA dual GPLv2, 2 Clause BSD license
|
# Almost everything is licensed under the OFA dual GPLv2, 2 Clause BSD license
|
||||||
@ -266,6 +266,13 @@ easy, object-oriented access to IB verbs.
|
|||||||
%autosetup -v -p1
|
%autosetup -v -p1
|
||||||
|
|
||||||
%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}
|
||||||
|
|
||||||
# New RPM defines _rundir, usually as /run
|
# New RPM defines _rundir, usually as /run
|
||||||
%if 0%{?_rundir:1}
|
%if 0%{?_rundir:1}
|
||||||
@ -653,6 +660,9 @@ rm -f %{buildroot}/%{_sbindir}/srp_daemon.sh
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jul 1 2020 Jeff Law <law@redhat.com> - 30.0-3
|
||||||
|
- Disable LTO
|
||||||
|
|
||||||
* Thu Jun 25 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 30.0-2
|
* Thu Jun 25 2020 Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> - 30.0-2
|
||||||
- Drop dependencies on systemd (#1837812)
|
- Drop dependencies on systemd (#1837812)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user