changeset 22622:795791668295

Put special CFLAGS for low accuracy tremor in the Makefile, similar to the way we do for libfaad2.
author diego
date Fri, 16 Mar 2007 21:54:48 +0000
parents 3d529762ce01
children 83b333febf31
files configure tremor/Makefile
diffstat 2 files changed, 2 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Fri Mar 16 21:50:01 2007 +0000
+++ b/configure	Fri Mar 16 21:54:48 2007 +0000
@@ -5698,7 +5698,6 @@
   _codecmodules="tremor(internal) $_codecmodules"
   _res_comment="internal Tremor"
   if test "$_tremor_low" = yes ; then
-    _tremor_flags='-D_LOW_ACCURACY_'
     _res_comment="internal low accuracy Tremor"
   fi
 elif test "$_tremor_external" = yes ; then
@@ -7490,7 +7489,7 @@
 LIBA52 = $_liba52
 LIBMPEG2 = $_libmpeg2
 TREMOR_INTERNAL = $_tremor_internal
-TREMOR_FLAGS = $_tremor_flags
+TREMOR_LOW = $_tremor_low
 FAAD = $_faad
 
 SPEEX = $_speex
--- a/tremor/Makefile	Fri Mar 16 21:50:01 2007 +0000
+++ b/tremor/Makefile	Fri Mar 16 21:54:48 2007 +0000
@@ -17,6 +17,6 @@
               synthesis.c \
               window.c \
 
-CFLAGS  = $(TREMOR_FLAGS)
+CFLAGS-$(TREMOR_LOW)  += -D_LOW_ACCURACY_
 
 include ../mpcommon.mak