[PATCH] utilize all cpus when building an rpm

From: Greg Edwards
Date: Thu Jul 29 2004 - 13:39:15 EST


Utilize all processors on the system when building an rpm.

Signed-off-by: Greg Edwards <edwardsg@xxxxxxx>


# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/07/29 13:15:17-05:00 edwardsg@xxxxxxxxxxxxxxxxxxxxxxx
# Utilize all processors on the system when building an rpm.
#
# scripts/package/mkspec
# 2004/07/29 13:15:08-05:00 edwardsg@xxxxxxxxxxxxxxxxxxxxxxx +1 -1
# Add %{?_smp_mflags} rpm macro to make command line to utilize the
# number of processors on the system.
#
diff -Nru a/scripts/package/mkspec b/scripts/package/mkspec
--- a/scripts/package/mkspec 2004-07-29 13:27:57 -05:00
+++ b/scripts/package/mkspec 2004-07-29 13:27:57 -05:00
@@ -40,7 +40,7 @@
echo "%setup -q"
echo ""
echo "%build"
-echo "make clean && make"
+echo "make clean && make %{?_smp_mflags}"
echo ""
echo "%install"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/