Disable LTO

Cherry-picked from Fedora:
4b4527afc0
This commit is contained in:
Jerry James 2023-10-12 01:25:16 +00:00 committed by Miro Hrončok
parent c3db43196a
commit 1278245cf0

View File

@ -6,6 +6,9 @@
# but it is usually not available soon enough for new major Python versions.
%bcond_with pythran
# The code is not safe to build with LTO
%global _lto_cflags %{nil}
# Set to pre-release version suffix if building pre-release, else %%{nil}
%global rcver %{nil}