cryptopp: use $(HOST_MAKE_ENV) when calling $(MAKE)

Signed-off-by: Gustavo Zacarias <gustavo.zacarias@free-electrons.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Gustavo Zacarias 2016-10-28 10:18:19 -03:00 committed by Thomas Petazzoni
parent b7736796b6
commit bb50481b36

View File

@ -20,11 +20,11 @@ HOST_CRYPTOPP_MAKE_OPTS = \
CXXFLAGS="$(HOST_CXXFLAGS) -fPIC"
define HOST_CRYPTOPP_BUILD_CMDS
$(MAKE) -C $(@D) $(HOST_CRYPTOPP_MAKE_OPTS) shared
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) $(HOST_CRYPTOPP_MAKE_OPTS) shared
endef
define HOST_CRYPTOPP_INSTALL_CMDS
$(MAKE) -C $(@D) PREFIX=$(HOST_DIR)/usr install
$(HOST_MAKE_ENV) $(MAKE) -C $(@D) PREFIX=$(HOST_DIR)/usr install
endef
$(eval $(host-generic-package))