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

index d55e90532135fd1817c52e78936b39e020d77adf..d4a1f820280ae54c64915d2a8c218fa36ec1e667 100644 (file)
@@ -49,15 +49,15 @@ endif
 
 define VIM_INSTALL_TARGET_CMDS
        cd $(@D)/src; \
-               $(MAKE) DESTDIR=$(TARGET_DIR) installvimbin; \
-               $(MAKE) DESTDIR=$(TARGET_DIR) installtools; \
-               $(MAKE) DESTDIR=$(TARGET_DIR) installlinks
+               $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) installvimbin; \
+               $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) installtools; \
+               $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) installlinks
 endef
 
 define VIM_INSTALL_RUNTIME_CMDS
        cd $(@D)/src; \
-               $(MAKE) DESTDIR=$(TARGET_DIR) installrtbase; \
-               $(MAKE) DESTDIR=$(TARGET_DIR) installmacros
+               $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) installrtbase; \
+               $(TARGET_MAKE_ENV) $(MAKE) DESTDIR=$(TARGET_DIR) installmacros
 endef
 
 define VIM_REMOVE_DOCS