summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d1552d1a82..b25a833102 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