mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-10-14 12:05:03 +00: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
|
@ -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…
Reference in a new issue