Disable LTO
This commit is contained in:
parent
2d57e37675
commit
bc33d44844
10
sanlock.spec
10
sanlock.spec
@ -1,6 +1,6 @@
|
|||||||
Name: sanlock
|
Name: sanlock
|
||||||
Version: 3.8.1
|
Version: 3.8.1
|
||||||
Release: 2%{?dist}
|
Release: 3%{?dist}
|
||||||
Summary: A shared storage lock manager
|
Summary: A shared storage lock manager
|
||||||
|
|
||||||
License: GPLv2 and GPLv2+ and LGPLv2+
|
License: GPLv2 and GPLv2+ and LGPLv2+
|
||||||
@ -29,6 +29,11 @@ The sanlock daemon manages leases for applications on hosts using shared storage
|
|||||||
%setup -q
|
%setup -q
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
# This package mixes PIC/PIE objects which causes errors in LTO mode.
|
||||||
|
# We could disable PIE, but that would run afoul of security policy in
|
||||||
|
# RHEL, so for now we just disable LTO.
|
||||||
|
%define _lto_cflags %{nil}
|
||||||
|
|
||||||
%set_build_flags
|
%set_build_flags
|
||||||
# upstream does not require configure
|
# upstream does not require configure
|
||||||
# upstream does not support _smp_mflags
|
# upstream does not support _smp_mflags
|
||||||
@ -178,6 +183,9 @@ common sanlock lockspace.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Tue Jul 08 2020 Jeff Law <law@redhat.com> - 3.8.1-3
|
||||||
|
- Disable LTO
|
||||||
|
|
||||||
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.8.1-2
|
* Tue May 26 2020 Miro Hrončok <mhroncok@redhat.com> - 3.8.1-2
|
||||||
- Rebuilt for Python 3.9
|
- Rebuilt for Python 3.9
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user