Skip to content

Commit 897188f

Browse files
committed
rpm: remove _lto_cflags logic for older distros
none of these distros are supported anymore. gcc >= 13.3 should resolve those lto issues Signed-off-by: Casey Bodley <[email protected]>
1 parent 77c6ef8 commit 897188f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

ceph.spec.in

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,6 @@
154154
%{!?gts_version: %global gts_version 13}
155155
%endif
156156

157-
# Disable lto on systems that do not support symver attribute
158-
# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200 for details
159-
%if (0%{?rhel} && 0%{?rhel} < 9) || ( 0%{?suse_version} && 0%{?suse_version} <= 1500 )
160-
%define _lto_cflags %{nil}
161-
%endif
162-
163157
%if ! 0%{?suse_version}
164158
# use multi-threaded xz compression: xz level 7 using ncpus threads
165159
%global _source_payload w7T%{_smp_build_ncpus}.xzdio

0 commit comments

Comments
 (0)