[build] fix NPROCS detection

This commit is contained in:
Gautier Hattenberger
2021-01-05 13:04:34 +01:00
parent e37090e14e
commit e2d3a44940
+1
View File
@@ -58,6 +58,7 @@ GENERATE_KEYS ?= 0
# Number of processes can also be explicitly set with e.g. J=4
# For serial compilation, call make with J=1
NPROCS := 1
UNAME = $(shell uname -s)
J ?= AUTO
ifeq ($J,AUTO)
ifeq ($(UNAME),Linux)