p7zip: 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>
This commit is contained in:
parent
8c4daa55fe
commit
047547d3a6
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user