From bd29a1ff3114cb62ae641ccea98870f652faedcb Mon Sep 17 00:00:00 2001 From: Miro Stauder Date: Thu, 4 Apr 2024 02:24:25 -0400 Subject: [PATCH] fix Makefile nprocs --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0b9d651a3..70d8642d0 100644 --- a/Makefile +++ b/Makefile @@ -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}