aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo.zacarias@free-electrons.com>2016-10-17 13:06:34 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-22 15:19:24 +0200
commit16473dde4c4e2f174a4c8f95bbdf0c935366a754 (patch)
tree573de72d46b74042215419c4e9ef6bb5087276e7
parent636faaa0c1aafbd4fe906280848a04c08c55fc0f (diff)
downloadbuildroot-16473dde4c4e2f174a4c8f95bbdf0c935366a754.tar.gz
buildroot-16473dde4c4e2f174a4c8f95bbdf0c935366a754.tar.bz2
dmalloc: use $(TARGET_MAKE_ENV) when calling $(MAKE)
Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/dmalloc/dmalloc.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/dmalloc/dmalloc.mk b/package/dmalloc/dmalloc.mk
index ffa9a3979e..6ebb44c5c0 100644
--- a/package/dmalloc/dmalloc.mk
+++ b/package/dmalloc/dmalloc.mk
@@ -48,7 +48,7 @@ DMALLOC_POST_PATCH_HOOKS += DMALLOC_POST_PATCH
# both DESTDIR and PREFIX are ignored..
define DMALLOC_INSTALL_STAGING_CMDS
- $(MAKE) includedir="$(STAGING_DIR)/usr/include" \
+ $(TARGET_MAKE_ENV) $(MAKE) includedir="$(STAGING_DIR)/usr/include" \
bindir="$(STAGING_DIR)/usr/bin" \
libdir="$(STAGING_DIR)/usr/lib" \
shlibdir="$(STAGING_DIR)/usr/lib" \