summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 2 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 803036d0f348..67972d3c9eef 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,8 @@
# Contributor: stqn
# Mod Fanch
-make_option="-j4"
+ncpu=$(grep processor /proc/cpuinfo|wc -l)
+make_option="-j${ncpu}"
### Nothing to be changed below this line ###