summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--package/p7zip/p7zip.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/p7zip/p7zip.mk b/package/p7zip/p7zip.mk
index 4bac859ea6..15d5138149 100644
--- a/package/p7zip/p7zip.mk
+++ b/package/p7zip/p7zip.mk
@@ -14,7 +14,7 @@ P7ZIP_LICENSE_FILES = DOC/License.txt
# CXXFLAGS, so we can't pass them. Instead, it accepts ALLFLAGS_C
# and ALLFLAGS_CPP as variables to pass the CFLAGS and CXXFLAGS.
define P7ZIP_BUILD_CMDS
- $(MAKE) CC="$(TARGET_CC)" ALLFLAGS_C="$(TARGET_CFLAGS)" \
+ $(TARGET_MAKE_ENV) $(MAKE) CC="$(TARGET_CC)" ALLFLAGS_C="$(TARGET_CFLAGS)" \
CXX="$(TARGET_CXX)" ALLFLAGS_CPP="$(TARGET_CXXFLAGS)" \
LDFLAGS="$(TARGET_LDFLAGS)" \
-C $(@D) 7zr
OpenPOWER on IntegriCloud