aboutsummaryrefslogtreecommitdiff
path: root/package/libfreeimage
diff options
context:
space:
mode:
authorGravatar Gustavo Zacarias <gustavo.zacarias@free-electrons.com>2016-10-13 19:13:46 -0300
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-10-15 14:17:37 +0200
commit0c5e57f973a8b1946736f21daba724a4cc32fb9f (patch)
treea6816a0c4cf8e10a2c3bf599372a189df70c2a5f /package/libfreeimage
parentc11b9d006883dba6427781277983c46274f3a2a0 (diff)
downloadbuildroot-0c5e57f973a8b1946736f21daba724a4cc32fb9f.tar.gz
buildroot-0c5e57f973a8b1946736f21daba724a4cc32fb9f.tar.bz2
libfreeimage: 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>
Diffstat (limited to 'package/libfreeimage')
-rw-r--r--package/libfreeimage/libfreeimage.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/libfreeimage/libfreeimage.mk b/package/libfreeimage/libfreeimage.mk
index 2849e94f22..fe79689fdd 100644
--- a/package/libfreeimage/libfreeimage.mk
+++ b/package/libfreeimage/libfreeimage.mk
@@ -22,11 +22,11 @@ define LIBFREEIMAGE_BUILD_CMDS
endef
define LIBFREEIMAGE_INSTALL_STAGING_CMDS
- $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(STAGING_DIR) install
endef
define LIBFREEIMAGE_INSTALL_TARGET_CMDS
- $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR=$(TARGET_DIR) install
endef
$(eval $(generic-package))