summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-10-03 14:11:12 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2006-10-03 14:11:12 +0000
commit2ce4d98fadb1f104fea85c803df30499c385559f (patch)
treec2bc8e10f03b36d1964e56ed451b284e8ff55c0e /package
parent2d1ab08716ebca29292a0de6baaf026078014988 (diff)
- use the HOSTCC for building host-tools.
Diffstat (limited to 'package')
-rw-r--r--package/mtd/mtd.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/mtd/mtd.mk b/package/mtd/mtd.mk
index afba855eb..9ee8d93c1 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)