Disable LTO on power
This does not change the resulting package. See4e6e2273d0
and0734092a6f
We need this to ship the previous commit, hence Related: RHEL-38108
This commit is contained in:
parent
b9e7b4f929
commit
4b59e850e6
@ -4,6 +4,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
|
||||||
|
|
||||||
# Whether to run the tests, enabled by default
|
# Whether to run the tests, enabled by default
|
||||||
%bcond_without tests
|
%bcond_without tests
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user