shithub: openh264

Download patch

ref: 104494475e381417579cd035645eec6604381535
parent: 9ccae7b0d67997216ae804beaebcd15a6a6ffe06
author: Martin Storsjö <[email protected]>
date: Fri Jan 10 07:26:44 EST 2014

Remove the HAVE_CACHE_LINE_ALIGN, ENCODER_CORE and WELS_SVC defines from makefiles

Neither of them are used anywhere any longer.

--- a/Makefile
+++ b/Makefile
@@ -42,7 +42,7 @@
   CFLAGS += -DX86_ASM
 endif
 
-CFLAGS += -DNO_DYNAMIC_VP -DHAVE_CACHE_LINE_ALIGN
+CFLAGS += -DNO_DYNAMIC_VP
 LDFLAGS +=
 ASMFLAGS += -DNO_DYNAMIC_VP
 
--- a/codec/build/linux/dec/makefile
+++ b/codec/build/linux/dec/makefile
@@ -26,7 +26,7 @@
 
 LIBS= -lstdc++ -ldl
 #-lm
-CFLAGS=  $(INCLUDE) -fPIC -D__GCC__ -DLINUX -D__NO_CTYPE -DHAVE_CACHE_LINE_ALIGN
+CFLAGS=  $(INCLUDE) -fPIC -D__GCC__ -DLINUX -D__NO_CTYPE
 
 ifeq ($(DBG),1)
 #SUFFIX= .dbg
--- a/codec/build/linux/enc/makefile
+++ b/codec/build/linux/enc/makefile
@@ -27,7 +27,7 @@
 
 LIBS= -lstdc++ -ldl -lpthread -lm
 #-lm
-CFLAGS=  $(INCLUDE) -m32 -fPIC -D__GCC__ -DLINUX -D__NO_CTYPE -DWELS_SVC -DENCODER_CORE -DHAVE_CACHE_LINE_ALIGN -DWELS_TESTBED -DMT_ENABLED
+CFLAGS=  $(INCLUDE) -m32 -fPIC -D__GCC__ -DLINUX -D__NO_CTYPE -DWELS_TESTBED -DMT_ENABLED
 
 ifeq ($(DBG),1)
 #SUFFIX= .dbg