Disable LTO on power

This does not change the resulting package.
See 4e6e2273d0
This commit is contained in:
Miro Hrončok 2024-01-17 19:28:12 +01:00
parent 9b85cf2ae0
commit ba55ee4bdc

View File

@ -7,6 +7,11 @@
# https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Header_Only_Libraries # https://fedoraproject.org/wiki/Packaging:Guidelines#Packaging_Header_Only_Libraries
%global debug_package %{nil} %global debug_package %{nil}
%ifarch ppc64le
# The tests are not LTO-compatible on power
%global _lto_cflags %{nil}
%endif
# Exclude automatic provides without python3.11 in the name # Exclude automatic provides without python3.11 in the name
%global __provides_exclude cmake|pkgconfig %global __provides_exclude cmake|pkgconfig