diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-12-02 06:51:48 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-12-02 16:13:09 +0400 |
commit | ad477710244c761ad1c21246c34e0075fee12d11 (patch) | |
tree | f375705a61a042182689173211718ecda5cb504d | |
parent | 7ffaa195704a7805a4342e58406904e6de17fef5 (diff) |
build: Add shorthand for HOSTCC compile macro
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | common.mak | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -38,6 +38,7 @@ endef COMPILE_C = $(call COMPILE,CC) COMPILE_S = $(call COMPILE,AS) +COMPILE_HOSTC = $(call COMPILE,HOSTCC) %.o: %.c $(COMPILE_C) diff --git a/common.mak b/common.mak index 01c4b63748..6836c11241 100644 --- a/common.mak +++ b/common.mak @@ -39,7 +39,7 @@ checkheaders: $(HOBJS) alltools: $(TOOLS) $(HOSTOBJS): %.o: %.c - $(call COMPILE,HOSTCC) + $(COMPILE_HOSTC) $(HOSTPROGS): %$(HOSTEXESUF): %.o $(HOSTLD) $(HOSTLDFLAGS) $(HOSTLD_O) $^ $(HOSTLIBS) |