common.mk: use CROSS_COMPILE for optee_benchmark
Depends on https://github.com/linaro-swg/optee_benchmark/pull/2
Signed-off-by: Yves Lefloch <YvesMarie_Lefloch@sigmadesigns.com>
Reviewed-by: Etienne Carriere <etienne.carriere@linaro.org>
diff --git a/common.mk b/common.mk
index 35d73a6..43bc06b 100644
--- a/common.mk
+++ b/common.mk
@@ -339,7 +339,7 @@
################################################################################
# benchmark_app
################################################################################
-BENCHMARK_APP_COMMON_FLAGS ?= HOST_CROSS_COMPILE=$(CROSS_COMPILE_NS_USER) \
+BENCHMARK_APP_COMMON_FLAGS ?= CROSS_COMPILE=$(CROSS_COMPILE_NS_USER) \
TEEC_EXPORT=$(OPTEE_CLIENT_EXPORT) \
TEEC_INTERNAL_INCLUDES=$(OPTEE_CLIENT_PATH)/libteec