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:
parent
b7736796b6
commit
bb50481b36
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue