shithub: openh264

Download patch

ref: 773cc4a79779e2fb6605c914a46578732c739ed3
parent: 73cc5862bad6518709f9a74f194d008fd2150734
author: Martin Storsjö <martin@martin.st>
date: Tue Mar 4 09:54:33 EST 2014

Exclude assembly files that are used as headers

This avoids some warnings about object files not containing any
symbols.

--- a/build/mktargets.sh
+++ b/build/mktargets.sh
@@ -1,7 +1,7 @@
 #!/bin/sh
 python build/mktargets.py --directory codec/decoder --library decoder
 python build/mktargets.py --directory codec/encoder --library encoder --exclude DllEntry.cpp
-python build/mktargets.py --directory codec/common --library common
+python build/mktargets.py --directory codec/common --library common --exclude asm_inc.asm
 python build/mktargets.py --directory codec/processing --library processing
 
 python build/mktargets.py --directory codec/console/dec --binary h264dec
--- a/codec/common/targets.mk
+++ b/codec/common/targets.mk
@@ -10,7 +10,6 @@
 
 ifeq ($(ASM_ARCH), x86)
 COMMON_ASM_SRCS=\
-	$(COMMON_SRCDIR)/asm_inc.asm\
 	$(COMMON_SRCDIR)/cpuid.asm\
 	$(COMMON_SRCDIR)/deblock.asm\
 	$(COMMON_SRCDIR)/expand_picture.asm\