aboutsummaryrefslogtreecommitdiffstats
path: root/common.mak
diff options
context:
space:
mode:
authorMans Rullgard <mans@mansr.com>2012-07-20 11:01:19 +0100
committerMans Rullgard <mans@mansr.com>2012-07-26 23:58:59 +0100
commitb9d3c3784865090e202483c73cc158f7d3918771 (patch)
tree813fe5a1b1834f9d44cddfae930538b31dcfba08 /common.mak
parenta758c5e2594893c0e7e1c5d966d6e486e2a77bb3 (diff)
downloadffmpeg-b9d3c3784865090e202483c73cc158f7d3918771.tar.gz
build: use COMPILE template for HOSTOBJS
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak4
1 files changed, 2 insertions, 2 deletions
diff --git a/common.mak b/common.mak
index 98c274e366..aed11f7891 100644
--- a/common.mak
+++ b/common.mak
@@ -33,7 +33,7 @@ checkheaders: $(filter-out $(SKIPHEADERS:.h=.ho),$(ALLHEADERS:.h=.ho))
alltools: $(TOOLS)
$(HOSTOBJS): %.o: %.c
- $(HOSTCC) $(HOSTCFLAGS) -c -o $@ $<
+ $(call COMPILE,HOSTCC)
$(HOSTPROGS): %$(HOSTEXESUF): %.o
$(HOSTCC) $(HOSTLDFLAGS) -o $@ $< $(HOSTLIBS)
@@ -49,4 +49,4 @@ CLEANSUFFIXES = *.d *.o *~ *.ho *.map *.ver
DISTCLEANSUFFIXES = *.pc
LIBSUFFIXES = *.a *.lib *.so *.so.* *.dylib *.dll *.def *.dll.a
--include $(wildcard $(OBJS:.o=.d) $(TESTOBJS:.o=.d))
+-include $(wildcard $(OBJS:.o=.d) $(HOSTOBJS:.o=.d) $(TESTOBJS:.o=.d))