mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-06 22:48:11 +01:00
configure.sh: Add --enable-bear for autotools builds.
With --enable-bear all autotools projects will be built via bear so compile_commands.json are generated.
This commit is contained in:
parent
9f42631228
commit
a60519fcd8
4 changed files with 20 additions and 6 deletions
10
Makefile.in
10
Makefile.in
|
|
@ -62,6 +62,12 @@ ifneq ($(SUPPRESS_WARNINGS),)
|
|||
COMMON_FLAGS += -w
|
||||
endif
|
||||
|
||||
ifeq ($(ENABLE_BEAR),1)
|
||||
BEAR := bear --append --
|
||||
else
|
||||
BEAR :=
|
||||
endif
|
||||
|
||||
$(DST_DIR):
|
||||
mkdir -p $@
|
||||
|
||||
|
|
@ -1204,10 +1210,10 @@ redist: all
|
|||
.PHONY: module32 module64 module
|
||||
|
||||
module32: | all-source wine-configure32
|
||||
+$(MAKE) -j$(J) $(filter -j%,$(MAKEFLAGS)) $(MFLAGS) $(MAKEOVERRIDES) -C $(WINE_OBJ32)/dlls/$(module)
|
||||
+$(BEAR) $(MAKE) -j$(J) $(filter -j%,$(MAKEFLAGS)) $(MFLAGS) $(MAKEOVERRIDES) -C $(WINE_OBJ32)/dlls/$(module)
|
||||
|
||||
module64: | all-source wine-configure64
|
||||
+$(MAKE) -j$(J) $(filter -j%,$(MAKEFLAGS)) $(MFLAGS) $(MAKEOVERRIDES) -C $(WINE_OBJ64)/dlls/$(module)
|
||||
+$(BEAR) $(MAKE) -j$(J) $(filter -j%,$(MAKEFLAGS)) $(MFLAGS) $(MAKEOVERRIDES) -C $(WINE_OBJ64)/dlls/$(module)
|
||||
|
||||
module: | all-source wine-configure
|
||||
module: module32 module64
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue