From: Diego Biurrun Date: Mon, 2 Dec 2013 02:51:48 +0000 (+0100) Subject: build: Add shorthand for HOSTCC compile macro X-Git-Tag: v10_alpha1~122 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=ad477710244c761ad1c21246c34e0075fee12d11;p=platform%2Fupstream%2Flibav.git build: Add shorthand for HOSTCC compile macro --- diff --git a/Makefile b/Makefile index 89f04a0..20ce686f 100644 --- a/Makefile +++ b/Makefile @@ -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 01c4b63..6836c11 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)