build: Pass make flags and parallel flags to module rule.

This commit is contained in:
Rémi Bernon 2021-04-02 12:55:57 +02:00
parent 08992c126e
commit 41d488deee
No known key found for this signature in database
GPG Key ID: 38D0E5827B54E5C9

View File

@ -356,12 +356,12 @@ redist: dist | $(filter-out dist deploy install redist,$(MAKECMDGOALS))
module32: private SHELL := $(CONTAINER_SHELL)
module32: CONTAINERGOALS := $(CONTAINERGOALS) wine-configure32
module32: | all-source wine-configure32
+$(MAKE) -C $(WINE_OBJ32)/dlls/$(module)
+$(MAKE) -j$(J) $(filter -j%,$(MAKEFLAGS)) $(MFLAGS) $(MAKEOVERRIDES) -C $(WINE_OBJ32)/dlls/$(module)
module64: private SHELL := $(CONTAINER_SHELL)
module64: CONTAINERGOALS := $(CONTAINERGOALS) wine-configure64
module64: | all-source wine-configure64
+$(MAKE) -C $(WINE_OBJ64)/dlls/$(module)
+$(MAKE) -j$(J) $(filter -j%,$(MAKEFLAGS)) $(MFLAGS) $(MAKEOVERRIDES) -C $(WINE_OBJ64)/dlls/$(module)
module: CONTAINERGOALS := $(CONTAINERGOALS) wine-configure
module: | all-source wine-configure