mirror of
https://github.com/ceph/ceph
synced 2025-03-25 11:48:05 +00:00
rpm: Disable LTO in spec when being used
Fixes: http://tracker.ceph.com/issues/39974 Works around: https://tracker.ceph.com/issues/40060 Signed-off-by: Martin Liška <Martin.Liska@suse.com>
This commit is contained in:
parent
7eeb926328
commit
6ab109bb9b
@ -1065,6 +1065,9 @@ integrated with the Ceph Manager Dashboard web UI.
|
||||
%autosetup -p1 -n @TARBALL_BASENAME@
|
||||
|
||||
%build
|
||||
# LTO can be enabled as soon as the following GCC bug is fixed:
|
||||
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200
|
||||
%define _lto_cflags %{nil}
|
||||
|
||||
%if 0%{?rhel} == 7
|
||||
. /opt/rh/devtoolset-8/enable
|
||||
|
Loading…
Reference in New Issue
Block a user