diff options
author | James Haggerty <james@gruemail.com> | 2022-10-25 09:24:54 +1100 |
---|---|---|
committer | James Haggerty <james@gruemail.com> | 2022-10-25 09:24:54 +1100 |
commit | 07f439c598d585651871794a96c0d124f77a5d56 (patch) | |
tree | a7ca2b16c26b856ba05054c2b1fe8d6fabb6d551 /make.mk | |
parent | 5bd0aafc24afffe33d4a014bc9af9865f708a65b (diff) | |
download | Sensor-Watch-07f439c598d585651871794a96c0d124f77a5d56.tar.gz Sensor-Watch-07f439c598d585651871794a96c0d124f77a5d56.tar.bz2 Sensor-Watch-07f439c598d585651871794a96c0d124f77a5d56.zip |
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).
Diffstat (limited to 'make.mk')
-rw-r--r-- | make.mk | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]\+') |