Commit 570c41aa authored by Beniamino Galvani's avatar Beniamino Galvani

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.
parent 38299a1d
Pipeline #7994 passed with stages
in 9 minutes and 42 seconds
......@@ -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 \
-Dlibpsl=false \
-Debpf=false \
-Dsession_tracking=systemd \
-Dsuspend_resume=systemd \
......@@ -645,8 +647,10 @@ intltoolize --automake --copy --force
--enable-concheck \
%if 0%{?fedora}
--with-libpsl \
--with-ebpf \
--without-libpsl \
--without-ebpf \
--with-session-tracking=systemd \
--with-suspend-resume=systemd \
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment