Merge commit '5a9fcc7d2524d6c0f86b2855019ee9f4cf360276'
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 2 Dec 2013 19:17:36 +0000 (20:17 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 2 Dec 2013 19:17:36 +0000 (20:17 +0100)
* commit '5a9fcc7d2524d6c0f86b2855019ee9f4cf360276':
  build: Add rule for building host-specific object files

Conflicts:
Makefile

Merged-by: Michael Niedermayer <michaelni@gmx.at>
common.mak

index f4b71ec..2a59826 100644 (file)
@@ -57,6 +57,9 @@ COMPILE_HOSTC = $(call COMPILE,HOSTCC)
 %.o: %.S
        $(COMPILE_S)
 
+%_host.o: %.c
+       $(COMPILE_HOSTC)
+
 %.i: %.c
        $(CC) $(CCFLAGS) $(CC_E) $<