Remove NPROCS from Makefile, make is able to automatically detect the optimal number...
authorJens Steube <jens.steube@gmail.com>
Sat, 5 Dec 2015 13:30:09 +0000 (14:30 +0100)
committerJens Steube <jens.steube@gmail.com>
Sat, 5 Dec 2015 13:30:09 +0000 (14:30 +0100)
src/Makefile

index 2e06169..47a396b 100644 (file)
@@ -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