contrib/rpm: opt out of LTO build for Fedora 33+

(cherry picked from commit 176996fccb)
This commit is contained in:
Thomas Haller 2020-09-08 13:20:51 +02:00
parent e815592919
commit 279998167a
No known key found for this signature in database
GPG key ID: 29C2366E4DFC5728

View file

@ -130,6 +130,10 @@
%global ebpf_enabled "no"
%endif
# On Fedora 33+, LTO is enabled by default. Newer branches of NetworkManager
# fix build with LTO, but for this branch we simply disable it.
%define _lto_cflags %{nil}
###############################################################################
Name: NetworkManager