diff --git a/GNUmakefile b/GNUmakefile index 0370eba54ae..4f76cb3565d 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -77,7 +77,7 @@ ifeq ($(OS), Linux) NPROCS:=$(shell nproc) endif ifeq ($(OS), Darwin) - NPROCS:=$(shell sysctl -a | grep "hw.ncpu" | cut -d" " -f2) + NPROCS:=$(shell sysctl -a | grep "hw.ncpu" | cut -d" " -f3) endif ifeq ($(OS), FreeBSD) NPROCS:=$(shell sysctl -a | grep "hw.ncpu" | cut -d" " -f2 )