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

This commit is contained in:
Thomas Haller 2020-09-08 13:20:51 +02:00
parent 09b5a72b0f
commit 176996fccb
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