mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-03-07 01:40:39 +01:00
contrib/rpm: opt out of LTO build for Fedora 33+
This commit is contained in:
parent
09b5a72b0f
commit
176996fccb
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