softether: use $(HOST_MAKE_ENV) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Mon, 17 Oct 2016 16:06:22 +0000 (13:06 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 22 Oct 2016 13:19:24 +0000 (15:19 +0200)
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>
package/softether/softether.mk

index 9f987744f369c2d3ef798267db013eda5dcb0afe..da7d12972330214094f0c3aec6e2600f34d19842 100644 (file)
@@ -34,9 +34,9 @@ HOST_SOFTETHER_DEPENDENCIES = host-pkgconf host-openssl host-readline
 # target build creates the file hamcore.se2 which needs the host variant of
 # hamcorebuilder, for details see http://www.vpnusers.com/viewtopic.php?p=5426
 define HOST_SOFTETHER_BUILD_CMDS
-       $(MAKE) -C $(@D)/src/Mayaqua
-       $(MAKE) -C $(@D)/src/Cedar
-       $(MAKE) -C $(@D)/src/hamcorebuilder
+       $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/src/Mayaqua
+       $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/src/Cedar
+       $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/src/hamcorebuilder
 endef
 
 define HOST_SOFTETHER_INSTALL_CMDS