diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-05-27 03:45:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-05-27 03:47:11 +0400 |
commit | 06a05e4dae3f5cf07844fb8491867f1143eb0441 (patch) | |
tree | 7ed40f70d19763ec549d6eb99a5fafc1c4523f76 /GNUmakefile | |
parent | 0efc0d5200416f98a9dc4fb4685382b3cf8f68cc (diff) |
BSD's was using too many build threads for convenience makefile
D431 from Aaron Peterson
Diffstat (limited to 'GNUmakefile')
-rw-r--r-- | GNUmakefile | 6 |
1 files 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 |