build: Use MAKE variable for building modules.

So that options like -j can be passed through.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
This commit is contained in:
Zhiyi Zhang 2020-03-20 20:37:19 +08:00 committed by Andrew Eikum
parent 80d7014333
commit 60b53f915d

View file

@ -507,11 +507,11 @@ redist: dist | $(filter-out dist deploy install redist,$(MAKECMDGOALS))
module32: SHELL = $(CONTAINER_SHELL32)
module32:
cd $(WINE_OBJ32)/dlls/$(module) && make
+$(MAKE) -C $(WINE_OBJ32)/dlls/$(module)
module64: SHELL = $(CONTAINER_SHELL64)
module64:
cd $(WINE_OBJ64)/dlls/$(module) && make
+$(MAKE) -C $(WINE_OBJ64)/dlls/$(module)
module: module32 module64