Enable LTO on all archs

The gcc issues that broke LTO on aarch64 were resolved.

Resolves: https://issues.redhat.com/browse/RHEL-40915
This commit is contained in:
Florian Müllner 2024-07-01 15:09:22 +02:00
parent 525974b3b7
commit 6429118b0a
2 changed files with 0 additions and 10 deletions

View File

@ -17,12 +17,6 @@
%define _lto_cflags %{nil}
%endif
# Disable LTO on aarch64 (borked since GCC14)
# https://bugzilla.redhat.com/show_bug.cgi?id=2260867
%ifarch aarch64
%define _lto_cflags %{nil}
%endif
# Big endian platforms
%ifarch ppc ppc64 s390 s390x
%global big_endian 1

View File

@ -4,7 +4,3 @@ annocheck:
# hardening properties are absent
- /usr/lib64/gjs/libmozjs-*.so
- /usr/lib/gjs/libmozjs-*.so
extra_opts:
# LTO builds are disabled on some archs
hardened: --skip-lto