mysql: use $(HOST_MAKE_ENV) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Mon, 17 Oct 2016 16:06:01 +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/mysql/mysql.mk

index 7af47113e10053921a585a80e0983599d0ce58af..92bf45a59006f70021875fa6ef60b5ec72a1ae56 100644 (file)
@@ -47,13 +47,13 @@ HOST_MYSQL_CONF_OPTS = \
        --disable-mysql-maintainer-mode
 
 define HOST_MYSQL_BUILD_CMDS
-       $(MAKE) -C $(@D)/include my_config.h
-       $(MAKE) -C $(@D)/mysys libmysys.a
-       $(MAKE) -C $(@D)/strings libmystrings.a
-       $(MAKE) -C $(@D)/vio libvio.a
-       $(MAKE) -C $(@D)/dbug libdbug.a
-       $(MAKE) -C $(@D)/regex libregex.a
-       $(MAKE) -C $(@D)/sql gen_lex_hash
+       $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/include my_config.h
+       $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/mysys libmysys.a
+       $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/strings libmystrings.a
+       $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/vio libvio.a
+       $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/dbug libdbug.a
+       $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/regex libregex.a
+       $(HOST_MAKE_ENV) $(MAKE) -C $(@D)/sql gen_lex_hash
 endef
 
 define HOST_MYSQL_INSTALL_CMDS