xenserver: Use parallel make in RPM build on SMP machines.
authorBen Pfaff <blp@nicira.com>
Tue, 9 Jun 2009 20:49:49 +0000 (13:49 -0700)
committerBen Pfaff <blp@nicira.com>
Tue, 9 Jun 2009 20:49:49 +0000 (13:49 -0700)
xenserver/vswitch-xen.spec

index a9933d9b3664aedc6182969e6151e332ba9039be..73e31bdfe02fa8908045e899f8d78ed9441634dc 100644 (file)
@@ -37,7 +37,7 @@ traffic.
 
 %build
 ./configure --prefix=%{_prefix} --localstatedir=%{_localstatedir} --with-l26=/lib/modules/%{xen_version}/build --enable-ssl %{build_number}
-make
+make %{_smp_mflags}
 
 %install
 rm -rf $RPM_BUILD_ROOT