[FFmpeg-cvslog] build: Add shorthand for HOSTCC compile macro
Diego Biurrun
git at videolan.org
Mon Dec 2 20:09:18 CET 2013
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Dec 2 03:51:48 2013 +0100| [ad477710244c761ad1c21246c34e0075fee12d11] | committer: Diego Biurrun
build: Add shorthand for HOSTCC compile macro
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ad477710244c761ad1c21246c34e0075fee12d11
---
Makefile | 1 +
common.mak | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
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)
More information about the ffmpeg-cvslog
mailing list