mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-28 15:20:29 +01:00
contrib/rpm: opt out of LTO build for Fedora 33+
(cherry picked from commit 176996fccb)
This commit is contained in:
parent
e815592919
commit
279998167a
1 changed files with 4 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue