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 702757443ffc..ee8340b2bb93 100644
--- a/redhat/kernel.spec.template
+++ b/redhat/kernel.spec.template
@@ -1982,7 +1982,7 @@ popd
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.
-%{make} -s ARCH=$Arch V=1 TARGETS="bpf livepatch net"
INSTALL_PATH=%{buildroot}%{_libexecdir}/kselftests install
+%{make} -s %{?_smp_mflags} ARCH=$Arch V=1 TARGETS="bpf livepatch net"
INSTALL_PATH=%{buildroot}%{_libexecdir}/kselftests install
popd
%endif
--
GitLab