diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-12-02 20:03:24 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-12-02 20:08:01 +0100 |
commit | a6c455cf6bb239280cae19e0eb94fa453ced2db7 (patch) | |
tree | d445acdebd71cc68e0978b2576747721ee6ef727 /common.mak | |
parent | c490cd4c1ae36246e9ae510c252dce65a432c125 (diff) | |
parent | ad477710244c761ad1c21246c34e0075fee12d11 (diff) | |
download | ffmpeg-a6c455cf6bb239280cae19e0eb94fa453ced2db7.tar.gz |
Merge commit 'ad477710244c761ad1c21246c34e0075fee12d11'
* commit 'ad477710244c761ad1c21246c34e0075fee12d11':
build: Add shorthand for HOSTCC compile macro
Conflicts:
Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'common.mak')
-rw-r--r-- | common.mak | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/common.mak b/common.mak index b22badda9d..f4b71ecfb1 100644 --- a/common.mak +++ b/common.mak @@ -43,6 +43,7 @@ endef COMPILE_C = $(call COMPILE,CC) COMPILE_CXX = $(call COMPILE,CXX) COMPILE_S = $(call COMPILE,AS) +COMPILE_HOSTC = $(call COMPILE,HOSTCC) %.o: %.c $(COMPILE_C) @@ -113,7 +114,7 @@ checkheaders: $(HOBJS) alltools: $(TOOLS) $(HOSTOBJS): %.o: %.c - $(call COMPILE,HOSTCC) + $(COMPILE_HOSTC) $(HOSTPROGS): %$(HOSTEXESUF): %.o $(HOSTLD) $(HOSTLDFLAGS) $(HOSTLD_O) $^ $(HOSTLIBS) |