From 2ce4d98fadb1f104fea85c803df30499c385559f Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Tue, 3 Oct 2006 14:11:12 +0000 Subject: [PATCH] - use the HOSTCC for building host-tools. --- package/mtd/mtd.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk index afba855eba..9ee8d93c12 100644 --- a/package/mtd/mtd.mk +++ b/package/mtd/mtd.mk @@ -57,7 +57,7 @@ $(MTD_HOST_DIR)/.unpacked: $(DL_DIR)/$(MTD_SOURCE) endif $(MTD_HOST_DIR)/util/mkfs.jffs2: $(MTD_HOST_DIR)/.unpacked - CFLAGS=-I$(LINUX_HEADERS_DIR)/include \ + CC="$(HOSTCC)" CROSS= CFLAGS=-I$(LINUX_HEADERS_DIR)/include \ $(MAKE) LINUXDIR=$(LINUX_DIR) -C $(MTD_HOST_DIR)/util mkfs.jffs2 mtd-host: $(MKFS_JFFS2) -- 2.30.2