summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFanchTheSystem2016-04-08 21:30:09 +0200
committerFanchTheSystem2016-04-08 21:30:09 +0200
commit68177bd479c2e377bff4b9b4c9d541a0dc99cd76 (patch)
treec9cc1c55130bd7cd39d27a1d16fa7f5a309570ff /PKGBUILD
parent528330ea007b14269f5be0c264dbe46b3dc4d0f6 (diff)
downloadaur-68177bd479c2e377bff4b9b4c9d541a0dc99cd76.tar.gz
dynamique cpu
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 ###