mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-01 04:04:23 +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
|
|
@ -31,8 +31,8 @@ $$(OBJ)/.$(1)-configure$(3): $$(OBJ)/.$(1)-pre-configure
|
|||
|
||||
$$(OBJ)/.$(1)-build$(3):
|
||||
@echo ":: building $(3)bit $(1)..." >&2
|
||||
cd "$$($(2)_OBJ$(3))" && env $$($(2)_ENV$(3)) \
|
||||
$$(MAKE)
|
||||
+cd "$$($(2)_OBJ$(3))" && env $$($(2)_ENV$(3)) \
|
||||
$$(BEAR) $$(MAKE)
|
||||
cd "$$($(2)_OBJ$(3))" && env $$($(2)_ENV$(3)) \
|
||||
$$(MAKE) install
|
||||
touch $$@
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@ $$(OBJ)/.$(1)-configure$(3):
|
|||
|
||||
$$(OBJ)/.$(1)-build$(3):
|
||||
@echo ":: building $(3)bit $(1)..." >&2
|
||||
cd "$$($(2)_OBJ$(3))" && env $$($(2)_ENV$(3)) \
|
||||
$$(MAKE)
|
||||
+cd "$$($(2)_OBJ$(3))" && env $$($(2)_ENV$(3)) \
|
||||
$$(BEAR) $$(MAKE)
|
||||
cd "$$($(2)_OBJ$(3))" && env $$($(2)_ENV$(3)) \
|
||||
$$(MAKE) install
|
||||
touch $$@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue