build: Add shorthand for HOSTCC compile macro

This commit is contained in:
Diego Biurrun 2013-12-02 03:51:48 +01:00
parent 7ffaa19570
commit ad47771024
2 changed files with 2 additions and 1 deletions

View File

@ -38,6 +38,7 @@ endef
COMPILE_C = $(call COMPILE,CC)
COMPILE_S = $(call COMPILE,AS)
COMPILE_HOSTC = $(call COMPILE,HOSTCC)
%.o: %.c
$(COMPILE_C)

View File

@ -39,7 +39,7 @@ checkheaders: $(HOBJS)
alltools: $(TOOLS)
$(HOSTOBJS): %.o: %.c
$(call COMPILE,HOSTCC)
$(COMPILE_HOSTC)
$(HOSTPROGS): %$(HOSTEXESUF): %.o
$(HOSTLD) $(HOSTLDFLAGS) $(HOSTLD_O) $^ $(HOSTLIBS)