fix Makefile nprocs

pull/4502/head
Miro Stauder 2 years ago
parent 39591b97a6
commit bd29a1ff31

@ -64,7 +64,7 @@ OS := $(shell uname -s)
ifeq ($(OS),Linux)
NPROCS := $(shell nproc)
endif
ifeq ($(OS),Darwin)
ifneq (,$(findstring $(OS),Darwin FreeBSD))
NPROCS := $(shell sysctl -n hw.ncpu)
endif
export MAKEOPT := -j${NPROCS}

Loading…
Cancel
Save