From e5adccbf3804d58cb4beb8f06797c0ba179043c6 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Sat, 5 Dec 2015 14:30:09 +0100 Subject: [PATCH] Remove NPROCS from Makefile, make is able to automatically detect the optimal number of parallel threads --- src/Makefile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/Makefile b/src/Makefile index 2e0616916..47a396be1 100644 --- a/src/Makefile +++ b/src/Makefile @@ -4,17 +4,16 @@ ## ## -## Detect number of processors +## Detect host OS ## -NPROCS := $(shell grep -c ^processor /proc/cpuinfo) OS := $(shell uname) ## ## Makefile flags ## -MAKEFLAGS += -l -j $(NPROCS) -rR --no-print-directory +MAKEFLAGS += -l -j -rR --no-print-directory ifneq ($(findstring clean,$(MAKECMDGOALS)),) MAKEFLAGS += -j 1