dmalloc: use $(TARGET_MAKE_ENV) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Mon, 17 Oct 2016 16:06:34 +0000 (13:06 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 22 Oct 2016 13:19:24 +0000 (15:19 +0200)
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>
package/dmalloc/dmalloc.mk

index ffa9a3979e7c8ea3558c1604fbec3b266fcbd02c..6ebb44c5c068022127a87899bf01123081502e7c 100644 (file)
@@ -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" \