summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--make.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make.mk b/make.mk
index 25401642..2fe89d75 100644
--- a/make.mk
+++ b/make.mk
@@ -31,7 +31,7 @@ else
endif
ifeq ($(DETECTED_OS), LINUX)
- MAKEFLAGS += -j `nproc`
+ MAKEFLAGS += -j $(shell nproc)
endif
ifeq ($(DETECTED_OS), OSX)
NPROCS = $(shell sysctl hw.ncpu | grep -o '[0-9]\+')