From 6c2aa0c3c2b05943558b160f5c65849d6e8be51b Mon Sep 17 00:00:00 2001 From: oddlama Date: Mon, 16 May 2022 15:41:23 +0200 Subject: [PATCH] Force MAKEFLAGS to --jobs=1 to ensure dependencies are executed sequentially and in-order. If this is not set, make -j2 web or higher job counts will cause the build to fail as some dependencies are not expressed directly on the dependent tasks but as a dependency list on a parent task. Alternatively one could add the required dependencies for each task separately, but that would factually sequentiallize the build, so there's no real difference except this approach fixes all dependency chains globally. --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index ab81e92..78504b9 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,4 @@ +MAKEFLAGS := --jobs=1 VERSION := $(shell git describe --tag) .PHONY: