Skip to contentSkip to conversation

RPM: build in parallel on SMP systems

PATCH New H. Peter Anvin 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 RPM: build in parallel on SMP systems

asciidoc is hideously slow, so it's worth it to build in parallel on SMP hosts.

cogito.spec.in +4 -1
index 501c52e..7c3c91d 100644
@@ -22,7 +22,7 @@ many other version control systems.
 
 %build
 
-make all doc
+make %{_smp_mflags} all doc
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -42,6 +42,9 @@ rm -rf $RPM_BUILD_ROOT
 %doc README COPYING Documentation/tutorial-script
 
 %changelog
+* Thu Dec 8 2005 H. Peter Anvin <[email protected]>
+- add %{_smp_mflags}
+
 * Tue Nov 1 2005 Pavel Roskin <[email protected]> 0.15.1-1
 - generate and include manuals