From: Bernhard Reutner-Fischer Date: Tue, 3 Oct 2006 14:11:12 +0000 (-0000) Subject: - use the HOSTCC for building host-tools. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2ce4d98fadb1f104fea85c803df30499c385559f;p=buildroot.git - use the HOSTCC for building host-tools. --- 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)