build: Use build macros for mediaconv.

This commit is contained in:
Rémi Bernon 2020-05-28 12:24:12 +02:00 committed by Andrew Eikum
parent cdd4f10b8b
commit f88ff58f53
3 changed files with 48 additions and 21 deletions

View file

@ -57,6 +57,8 @@ all: $(1)
$(2)_ENV$(3) = \
CARGO_HOME=$$(OBJ)/.cargo \
CARGO_TARGET_$$(call toupper,$$(ARCH$(3))-unknown-linux-gnu)_LINKER="$$(ARCH$(3))-linux-gnu-gcc" \
CCACHE_BASEDIR="$$(CCACHE_BASEDIR)" \
STRIP="$$(STRIP)" \
CC="$$(CCACHE_BIN) $$(ARCH$(3))-linux-gnu-gcc" \