libnss: use $(TARGET_MAKE_ENV) when calling $(MAKE)
authorGustavo Zacarias <gustavo.zacarias@free-electrons.com>
Thu, 13 Oct 2016 22:13:42 +0000 (19:13 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 15 Oct 2016 12:17:28 +0000 (14:17 +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/libnss/libnss.mk

index b4f9cce2c088c21498c6e711e29388ce1d9ead3a..931256c56709640c82e0dd9f5dc3e7c2c5b4db10 100644 (file)
@@ -45,12 +45,12 @@ endif
 endif
 
 define LIBNSS_BUILD_CMDS
-       $(MAKE1) -C $(@D)/nss coreconf \
+       $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D)/nss coreconf \
                SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \
                DIST=$(@D)/$(LIBNSS_DISTDIR) \
                CHECKLOC= \
                $(LIBNSS_BUILD_VARS)
-       $(MAKE1) -C $(@D)/nss lib/dbm all \
+       $(TARGET_MAKE_ENV) $(MAKE1) -C $(@D)/nss lib/dbm all \
                SOURCE_MD_DIR=$(@D)/$(LIBNSS_DISTDIR) \
                DIST=$(@D)/$(LIBNSS_DISTDIR) \
                CHECKLOC= \