mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-17 23:08:28 +02:00
contrib/rpm: opt out of LTO build for Fedora 33+
(cherry picked from commit176996fccb) (cherry picked from commit279998167a)
This commit is contained in:
parent
8fb90c00d0
commit
790a3a213a
1 changed files with 4 additions and 0 deletions
|
|
@ -122,6 +122,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