From 8e66b8c6366fee1438291c230b798b5d3b90de64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9mi=20Bernon?= Date: Fri, 2 Apr 2021 16:56:15 +0200 Subject: [PATCH] build: Pass -j flags to ninja build steps too. --- make/rules-meson.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/rules-meson.mk b/make/rules-meson.mk index 11d91ba3..9c5d1f3a 100644 --- a/make/rules-meson.mk +++ b/make/rules-meson.mk @@ -31,7 +31,7 @@ $$(OBJ)/.$(1)-configure$(3): $$($(2)_SRC)/meson.build $$(OBJ)/.$(1)-build$(3): @echo ":: building $(3)bit $(1)..." >&2 env $$($(2)_ENV$(3)) \ - ninja -C "$$($(2)_OBJ$(3))" install + ninja $$(filter -j%,$$(MAKEFLAGS)) -C "$$($(2)_OBJ$(3))" install touch $$@ endif endef