summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5bebd04ace..3a2bd75c5f 100644
--- a/Makefile
+++ b/Makefile
@@ -11,7 +11,7 @@ endif
ifeq ($(shell uname -s), Linux)
HOST = linux
-JOBS ?= $(shell sysctl -n hw.ncpu)
+JOBS ?= $(shell grep --count processor /proc/cpuinfo)
endif
JOBS ?= 1