use the host cc when preprocessing features

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14350 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Daniel Stenberg 2007-08-15 12:03:21 +00:00
parent 0624bd1e17
commit 05a6c98d24

View file

@ -204,7 +204,7 @@ include $(TOOLSDIR)/make.inc
#
$(OBJDIR)/features: features.txt
$(SILENT)cat $< | $(CC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) \
$(SILENT)cat $< | $(HOSTCC) -DMEMORYSIZE=$(MEMORYSIZE) $(INCLUDES) \
$(TARGET) $(DEFINES) $(EXTRA_DEFINES) -E -P -imacros "config.h" -imacros "button.h" - | \
grep -v "^\#" | grep -v "^$$" > $@; \
echo "" >/dev/null