From 06a05e4dae3f5cf07844fb8491867f1143eb0441 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 27 May 2014 09:45:51 +1000 Subject: [PATCH] BSD's was using too many build threads for convenience makefile D431 from Aaron Peterson --- GNUmakefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 566a44b500f..0370eba54ae 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -77,13 +77,13 @@ ifeq ($(OS), Linux) NPROCS:=$(shell nproc) endif ifeq ($(OS), Darwin) - NPROCS:=$(shell sysctl -a | grep "hw.ncpu " | cut -d" " -f3) + NPROCS:=$(shell sysctl -a | grep "hw.ncpu" | cut -d" " -f2) endif ifeq ($(OS), FreeBSD) - NPROCS:=$(shell sysctl -a | grep "hw.ncpu " | cut -d" " -f3 ) + NPROCS:=$(shell sysctl -a | grep "hw.ncpu" | cut -d" " -f2 ) endif ifeq ($(OS), NetBSD) - NPROCS:=$(shell sysctl -a | grep "hw.ncpu " | cut -d" " -f3 ) + NPROCS:=$(shell sysctl -a | grep "hw.ncpu" | cut -d" " -f2 ) endif