From b1d218b7447d60c00aff8f71a29206a526b400d2 Mon Sep 17 00:00:00 2001 From: Gustavo Zacarias Date: Mon, 17 Oct 2016 13:07:19 -0300 Subject: [PATCH] aufs-util: use $(HOST_MAKE_ENV) when calling $(MAKE) In this case in particular a host tool is built inside the target build step. Signed-off-by: Gustavo Zacarias Reviewed-by: Arnout Vandecappelle (Essensium/Mind) Signed-off-by: Thomas Petazzoni --- package/aufs-util/aufs-util.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/aufs-util/aufs-util.mk b/package/aufs-util/aufs-util.mk index a2d0bad656..d41b4ac4fd 100644 --- a/package/aufs-util/aufs-util.mk +++ b/package/aufs-util/aufs-util.mk @@ -41,7 +41,7 @@ AUFS_UTIL_POST_PATCH_HOOKS += AUFS_UTIL_REMOVE_RDU64 # First, we build the host tools, needed to build the target tools. define AUFS_UTIL_BUILD_CMDS - $(MAKE) -C $(@D) \ + $(HOST_MAKE_ENV) $(MAKE) -C $(@D) \ $(HOST_CONFIGURE_OPTS) \ CPPFLAGS="$(AUFS_UTIL_HOST_CPPFLAGS)" \ HOSTCC="$(HOSTCC)" HOSTLD="$(HOSTLD)" \ -- 2.30.2