]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
rpm: remove _lto_cflags logic for older distros
authorCasey Bodley <cbodley@redhat.com>
Tue, 19 Aug 2025 13:30:51 +0000 (09:30 -0400)
committerCasey Bodley <cbodley@redhat.com>
Tue, 19 Aug 2025 14:06:20 +0000 (10:06 -0400)
none of these distros are supported anymore. gcc >= 13.3 should resolve
those lto issues

Signed-off-by: Casey Bodley <cbodley@redhat.com>
ceph.spec.in

index 14a580287732e8899584b790b408303632518ad2..b19a829d04a357c9d068a27f3b9cfb3e0e59a655 100644 (file)
 %{!?gts_version: %global gts_version 13}
 %endif
 
-# Disable lto on systems that do not support symver attribute
-# See https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200 for details
-%if (0%{?rhel} && 0%{?rhel} < 9) || ( 0%{?suse_version} && 0%{?suse_version} <= 1500 )
-%define _lto_cflags %{nil}
-%endif
-
 %if ! 0%{?suse_version}
 # use multi-threaded xz compression: xz level 7 using ncpus threads
 %global _source_payload w7T%{_smp_build_ncpus}.xzdio