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: private SHELL := $(CONTAINER_SHELL)
module32: CONTAINERGOALS := $(CONTAINERGOALS) wine-configure32 module32: CONTAINERGOALS := $(CONTAINERGOALS) wine-configure32
module32: | all-source 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: private SHELL := $(CONTAINER_SHELL)
module64: CONTAINERGOALS := $(CONTAINERGOALS) wine-configure64 module64: CONTAINERGOALS := $(CONTAINERGOALS) wine-configure64
module64: | all-source 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: CONTAINERGOALS := $(CONTAINERGOALS) wine-configure
module: | all-source wine-configure module: | all-source wine-configure