From: Gustavo Zacarias Date: Mon, 17 Oct 2016 16:07:19 +0000 (-0300) Subject: aufs-util: use $(HOST_MAKE_ENV) when calling $(MAKE) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b1d218b7447d60c00aff8f71a29206a526b400d2;p=buildroot.git 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 --- 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)" \