OSX: fix T40413, automatic threads for compile throw wrong output
authorJens Verwiebe <info@jensverwiebe.de>
Thu, 29 May 2014 09:15:32 +0000 (11:15 +0200)
committerJens Verwiebe <info@jensverwiebe.de>
Thu, 29 May 2014 09:15:32 +0000 (11:15 +0200)
GNUmakefile

index 0370eba54ae24d78aa500d759b9e8724a41628ea..4f76cb3565db3ffb7cacb984d5df9d9c1a2ab800 100644 (file)
@@ -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 )