aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-12-02 20:17:36 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-12-02 20:17:36 +0100
commit6f9be8120d2933268733eded5d6c0eb92341e788 (patch)
treef4175a0875818c6ad0bad6f78456205e3780bd59
parenta6c455cf6bb239280cae19e0eb94fa453ced2db7 (diff)
parent5a9fcc7d2524d6c0f86b2855019ee9f4cf360276 (diff)
downloadffmpeg-6f9be8120d2933268733eded5d6c0eb92341e788.tar.gz
Merge commit '5a9fcc7d2524d6c0f86b2855019ee9f4cf360276'
* commit '5a9fcc7d2524d6c0f86b2855019ee9f4cf360276': build: Add rule for building host-specific object files Conflicts: Makefile Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--common.mak3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.mak b/common.mak
index f4b71ecfb1..2a59826a67 100644
--- a/common.mak
+++ b/common.mak
@@ -57,6 +57,9 @@ COMPILE_HOSTC = $(call COMPILE,HOSTCC)
%.o: %.S
$(COMPILE_S)
+%_host.o: %.c
+ $(COMPILE_HOSTC)
+
%.i: %.c
$(CC) $(CCFLAGS) $(CC_E) $<