Disable LTO on power

This does not change the resulting package.
See 4e6e2273d0
and 0734092a6f

We need this to ship the previous commit, hence
Related: RHEL-38108
This commit is contained in:
Miro Hrončok 2024-01-17 19:28:12 +01:00
parent b9e7b4f929
commit 4b59e850e6

View File

@ -4,6 +4,11 @@
# https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Header_Only_Libraries
%global debug_package %{nil}
%ifarch ppc64le
# The tests are not LTO-compatible on power
%global _lto_cflags %{nil}
%endif
# Whether to run the tests, enabled by default
%bcond_without tests