summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/libtommath/libtommath.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/libtommath/libtommath.mk b/package/libtommath/libtommath.mk
index eb3b00e861..2fc8c39c6e 100644
--- a/package/libtommath/libtommath.mk
+++ b/package/libtommath/libtommath.mk
@@ -13,11 +13,11 @@ LIBTOMMATH_INSTALL_STAGING = YES
LIBTOMMATH_INSTALL_TARGET = NO # only static library
define LIBTOMMATH_BUILD_CMDS
- $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) CFLAGS="-I./ -fPIC $(TARGET_CFLAGS)"
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) $(TARGET_CONFIGURE_OPTS) CFLAGS="-I./ -fPIC $(TARGET_CFLAGS)"
endef
define LIBTOMMATH_INSTALL_STAGING_CMDS
- $(MAKE) -C $(@D) DESTDIR="$(STAGING_DIR)" install
+ $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(STAGING_DIR)" install
endef
$(eval $(generic-package))
OpenPOWER on IntegriCloud