From 75135cfa9b1bc6f508da86adf8f81d7a81f1aec9 Mon Sep 17 00:00:00 2001 From: Jens Verwiebe Date: Thu, 29 May 2014 11:15:32 +0200 Subject: [PATCH] OSX: fix T40413, automatic threads for compile throw wrong output --- GNUmakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 )