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:
parent
525974b3b7
commit
6429118b0a
6
gjs.spec
6
gjs.spec
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user