From: Denys Vlasenko <dvlasenk(a)redhat.com>
Signed-off-by: Denys Vlasenko <dvlasenk(a)redhat.com>
---
redhat/kernel.spec.template | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/redhat/kernel.spec.template b/redhat/kernel.spec.template
index d47c9cce8a0e..702757443ffc 100644
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -1978,7 +1978,7 @@ popd
%endif
%if %{with_selftests}
-%{make} -s ARCH=$Arch V=1 samples/bpf/
+%{make} -s %{?_smp_mflags} ARCH=$Arch V=1 samples/bpf/
pushd tools/testing/selftests
# We need to install here because we need to call make with ARCH set which
# doesn't seem possible to do in the install section.
--
GitLab