aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-12-02 03:51:48 +0100
committerDiego Biurrun <diego@biurrun.de>2013-12-02 13:13:09 +0100
commitad477710244c761ad1c21246c34e0075fee12d11 (patch)
treef375705a61a042182689173211718ecda5cb504d
parent7ffaa195704a7805a4342e58406904e6de17fef5 (diff)
downloadffmpeg-ad477710244c761ad1c21246c34e0075fee12d11.tar.gz
build: Add shorthand for HOSTCC compile macro
-rw-r--r--Makefile1
-rw-r--r--common.mak2
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 89f04a04a2..20ce686fb6 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 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)