From e6f825371e0f234d6101478cb61c5b6631729927 Mon Sep 17 00:00:00 2001 From: proddy Date: Wed, 3 Dec 2025 22:05:45 +0100 Subject: [PATCH] fix make for Windows --- Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index b5d3f85aa..324f20025 100644 --- a/Makefile +++ b/Makefile @@ -21,13 +21,14 @@ endif # Optimize parallel build configuration UNAME_S := $(shell uname -s) +JOBS ?= 1 ifeq ($(UNAME_S),Linux) EXTRA_CPPFLAGS = -D LINUX - JOBS ?= $(shell nproc) + JOBS := $(shell nproc) endif ifeq ($(UNAME_S),Darwin) EXTRA_CPPFLAGS = -D OSX -Wno-tautological-constant-out-of-range-compare - JOBS ?= $(shell sysctl -n hw.ncpu) + JOBS := $(shell sysctl -n hw.ncpu) endif # Set optimal parallel build settings