OSX: fix T40413, automatic threads for compile throw wrong output

This commit is contained in:
Jens Verwiebe 2014-05-29 11:15:32 +02:00
parent 34ca8fe82a
commit 75135cfa9b

@ -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 )