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

index 194249bd1f0e8d15bf2985e4f5e3669c7c85ca76..058f6bd1868589c55993bea3498a1688fd232b41 100644 (file)
@@ -10,7 +10,7 @@ TINYHTTPD_LICENSE = GPL
 TINYHTTPD_LICENSE_FILES = README
 
 define TINYHTTPD_BUILD_CMDS
-       $(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
+       $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) CC="$(TARGET_CC)" CFLAGS="$(TARGET_CFLAGS)" \
                LDFLAGS="$(TARGET_LDFLAGS)"
 endef