mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-02-07 16:50:35 +01:00
rpm: disable ebpf support on RHEL
The ebpf syscall doesn't work on RHEL even if the linux/bpf.h header is available: let's explicitly disable it. On Fedora explicitly enable eBPF instead of autodetecting it.
This commit is contained in:
parent
38299a1d78
commit
570c41aae4
1 changed files with 4 additions and 0 deletions
|
|
@ -536,8 +536,10 @@ by nm-connection-editor and nm-applet in a non-graphical environment.
|
|||
-Dconcheck=true \
|
||||
%if 0%{?fedora}
|
||||
-Dlibpsl=true \
|
||||
-Debpf=true \
|
||||
%else
|
||||
-Dlibpsl=false \
|
||||
-Debpf=false \
|
||||
%endif
|
||||
-Dsession_tracking=systemd \
|
||||
-Dsuspend_resume=systemd \
|
||||
|
|
@ -645,8 +647,10 @@ intltoolize --automake --copy --force
|
|||
--enable-concheck \
|
||||
%if 0%{?fedora}
|
||||
--with-libpsl \
|
||||
--with-ebpf \
|
||||
%else
|
||||
--without-libpsl \
|
||||
--without-ebpf \
|
||||
%endif
|
||||
--with-session-tracking=systemd \
|
||||
--with-suspend-resume=systemd \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue