diff --git a/build/makefile_base.mak b/build/makefile_base.mak index b71da95a..98fd2716 100644 --- a/build/makefile_base.mak +++ b/build/makefile_base.mak @@ -840,7 +840,7 @@ $(WINE_CONFIGURE_FILES64): $(MAKEFILE_DEP) | faudio64 vkd3d64 $(WINE_OBJ64) biso --disable-tests \ --prefix=$(abspath $(DST_DIR)) \ STRIP=$(STRIP_QUOTED) \ - PATH="$(dir $(abspath $(BISON_BIN64))):$(PATH)" \ + BISON=$(abspath $(BISON_BIN64)) \ CFLAGS="-I$(abspath $(TOOLS_DIR64))/include -g $(COMMON_FLAGS)" \ CXXFLAGS="-I$(abspath $(TOOLS_DIR64))/include -g $(COMMON_FLAGS) -fno-gnu-unique -std=c++17" \ LDFLAGS=-L$(abspath $(TOOLS_DIR64))/lib \ @@ -857,7 +857,7 @@ $(WINE_CONFIGURE_FILES32): $(MAKEFILE_DEP) | faudio32 vkd3d32 $(WINE_OBJ32) biso --disable-tests \ --prefix=$(abspath $(WINE_DST32)) \ STRIP=$(STRIP_QUOTED) \ - PATH="$(dir $(abspath $(BISON_BIN32))):$(PATH)" \ + BISON=$(abspath $(BISON_BIN32)) \ CFLAGS="-I$(abspath $(TOOLS_DIR32))/include -g $(COMMON_FLAGS)" \ CXXFLAGS="-I$(abspath $(TOOLS_DIR32))/include -g $(COMMON_FLAGS) -fno-gnu-unique -std=c++17" \ LDFLAGS=-L$(abspath $(TOOLS_DIR32))/lib \ @@ -890,7 +890,7 @@ $(WINE_BUILDTOOLS64) $(WINE_OUT) wine64: wine64-intermediate wine64-intermediate: SHELL = $(CONTAINER_SHELL64) wine64-intermediate: $(WINE_CONFIGURE_FILES64) - +PATH="$(dir $(abspath $(BISON_BIN64))):$(PATH)" $(MAKE) -C $(WINE_OBJ64) $(WINE_COMMON_MAKE_ARGS) + +$(MAKE) -C $(WINE_OBJ64) $(WINE_COMMON_MAKE_ARGS) +$(MAKE) -C $(WINE_OBJ64) $(WINE_COMMON_MAKE_ARGS) install-lib +$(MAKE) -C $(WINE_OBJ64) $(WINE64_MAKE_ARGS) install-lib install-dev if [ "$(UNSTRIPPED_BUILD)" == "" ]; then rm -rf $(DST_DIR)/lib64/wine/.debug; fi @@ -904,7 +904,7 @@ $(WINE_BUILDTOOLS32) wine32: wine32-intermediate wine32-intermediate: SHELL = $(CONTAINER_SHELL32) wine32-intermediate: $(WINE_CONFIGURE_FILES32) - +PATH="$(dir $(abspath $(BISON_BIN32))):$(PATH)" $(MAKE) -C $(WINE_OBJ32) $(WINE_COMMON_MAKE_ARGS) + +$(MAKE) -C $(WINE_OBJ32) $(WINE_COMMON_MAKE_ARGS) +$(MAKE) -C $(WINE_OBJ32) $(WINE_COMMON_MAKE_ARGS) install-lib +$(MAKE) -C $(WINE_OBJ32) $(WINE32_MAKE_ARGS) install-lib install-dev mkdir -p $(DST_DIR)/{lib,bin}