mirror of
https://github.com/ValveSoftware/Proton.git
synced 2025-02-05 10:10:44 +03:00
build: Respect concurrency limit when building with cargo.
This commit is contained in:
parent
158e04cb05
commit
2983a44781
@ -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…
x
Reference in New Issue
Block a user