mirror of
https://git.suyu.dev/suyu/Yucom.git
synced 2025-12-28 10:14:37 +01:00
Use CARGO_HOME on the host
This lets cargo's cache persist across builds, so there are fewer (often zero) network pulls during the build process.
This commit is contained in:
parent
ab06ba22a0
commit
14ffc4d0f7
2 changed files with 4 additions and 1 deletions
|
|
@ -113,7 +113,6 @@ $(2)_LIBFLAGS$(3) = $$(foreach d,$$($(2)_DEPS$(3)),-L$$($$(d)_LIBDIR$(3))) \
|
|||
# native version doesn't exist.
|
||||
|
||||
$(2)_ENV$(3) = \
|
||||
CARGO_HOME=$$(OBJ)/.cargo \
|
||||
CARGO_TARGET_$$(call toupper,$$(CARGO_TARGET_$(3)))_LINKER="$$(TARGET_$(4)$(3))-gcc" \
|
||||
CCACHE_BASEDIR="$$(CCACHE_BASEDIR)" \
|
||||
STRIP="$$(STRIP)" \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue