mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2026-01-07 23:17:59 +01:00
build: Respect concurrency limit when building with cargo.
This commit is contained in:
parent
158e04cb05
commit
2983a44781
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ $(OBJ)/.$(1)-configure$(3):
|
||||||
$(OBJ)/.$(1)-build$(3):
|
$(OBJ)/.$(1)-build$(3):
|
||||||
@echo ":: building $(3)bit $(1)..." >&2
|
@echo ":: building $(3)bit $(1)..." >&2
|
||||||
cd $$($(2)_SRC) && env $$($(2)_ENV$(3)) \
|
cd $$($(2)_SRC) && env $$($(2)_ENV$(3)) \
|
||||||
cargo build --target "$$(ARCH$(3))-unknown-linux-gnu" --target-dir $$($(2)_OBJ$(3)) $$(CARGO_BUILD_ARG)
|
cargo build $$(filter -j%,$$(MAKEFLAGS)) --target "$$(ARCH$(3))-unknown-linux-gnu" --target-dir $$($(2)_OBJ$(3)) $$(CARGO_BUILD_ARG)
|
||||||
touch $$@
|
touch $$@
|
||||||
endif
|
endif
|
||||||
endef
|
endef
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue