From 07f439c598d585651871794a96c0d124f77a5d56 Mon Sep 17 00:00:00 2001 From: James Haggerty Date: Tue, 25 Oct 2022 09:24:54 +1100 Subject: Fix Linux Makefile parallelism Makefile != bourne shell, I think. At least on my systems, this was causing a raw -j, which meant that make had no restriction on its parallelism (i.e. tried to build everything at once). --- make.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make.mk b/make.mk index 25401642..2fe89d75 100644 --- a/make.mk +++ b/make.mk @@ -31,7 +31,7 @@ else endif ifeq ($(DETECTED_OS), LINUX) - MAKEFLAGS += -j `nproc` + MAKEFLAGS += -j $(shell nproc) endif ifeq ($(DETECTED_OS), OSX) NPROCS = $(shell sysctl hw.ncpu | grep -o '[0-9]\+') -- cgit v1.2.3