boost: use $(TARGET_MAKE_ENV) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Thu, 13 Oct 2016 22:13:36 +0000 (19:13 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 15 Oct 2016 12:17:16 +0000 (14:17 +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/boost/boost.mk

index 1bed6b250f987e87868231e53bc6ad000705c44a..bb8d799c48c2433c6f3aa871a3f50e51a7d35a1d 100644 (file)
@@ -131,7 +131,7 @@ define BOOST_CONFIGURE_CMDS
 endef
 
 define BOOST_BUILD_CMDS
-       (cd $(@D) && ./bjam -j$(PARALLEL_JOBS) -q \
+       (cd $(@D) && $(TARGET_MAKE_ENV) ./bjam -j$(PARALLEL_JOBS) -q \
        --user-config=$(@D)/user-config.jam \
        $(BOOST_OPTS) \
        --ignore-site-config \
@@ -139,7 +139,7 @@ define BOOST_BUILD_CMDS
 endef
 
 define BOOST_INSTALL_TARGET_CMDS
-       (cd $(@D) && ./b2 -j$(PARALLEL_JOBS) -q \
+       (cd $(@D) && $(TARGET_MAKE_ENV) ./b2 -j$(PARALLEL_JOBS) -q \
        --user-config=$(@D)/user-config.jam \
        $(BOOST_OPTS) \
        --prefix=$(TARGET_DIR)/usr \
@@ -148,7 +148,7 @@ define BOOST_INSTALL_TARGET_CMDS
 endef
 
 define BOOST_INSTALL_STAGING_CMDS
-       (cd $(@D) && ./bjam -j$(PARALLEL_JOBS) -q \
+       (cd $(@D) && $(TARGET_MAKE_ENV) ./bjam -j$(PARALLEL_JOBS) -q \
        --user-config=$(@D)/user-config.jam \
        $(BOOST_OPTS) \
        --prefix=$(STAGING_DIR)/usr \