From 9c6ca357c2903327fe86c0f017fcf4d85fff76e5 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Tue, 10 Aug 2021 15:23:24 +0200 Subject: [PATCH] Use more CPUs for re-linking during the install step if possible --- samba.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/samba.spec b/samba.spec index 033a8fa..bbbdccc 100644 --- a/samba.spec +++ b/samba.spec @@ -1103,7 +1103,8 @@ pushd pidl popd %install -%make_install +# Do not use %%make_install, make is just a wrapper around waf in Samba! +%{__make} %{?_smp_mflags} %{_make_verbose} install DESTDIR=%{buildroot} install -d -m 0755 %{buildroot}/usr/{sbin,bin} install -d -m 0755 %{buildroot}%{_libdir}/security