fix setting the CFLAGS for building codec libs so that they are built with
authorRussell Bryant <russell@russellbryant.com>
Wed, 26 Jul 2006 23:12:47 +0000 (23:12 +0000)
committerRussell Bryant <russell@russellbryant.com>
Wed, 26 Jul 2006 23:12:47 +0000 (23:12 +0000)
astmm support and astmm doesn't get really upset and complain that it is being
asked to free memory that was never allocated

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38271 65c4cc65-6c06-0410-ace0-fbb531ad65f3

codecs/Makefile

index bb0de75..f476e8a 100644 (file)
@@ -42,14 +42,14 @@ clean::
 
 gsm/lib/libgsm.a:
        @mkdir -p gsm/lib
-       @CFLAGS="$(ASTCFLAGS) -I." $(MAKE) -C gsm lib/libgsm.a
+       @CFLAGS="$(CFLAGS) -I." $(MAKE) -C gsm lib/libgsm.a
 
 $(LIBLPC10):
-       @CFLAGS="$(ASTCFLAGS)" $(MAKE) -C lpc10 all
+       @$(MAKE) -C lpc10 all
 
 codec_lpc10.so: $(LIBLPC10)
 
 $(LIBILBC):
-       @CFLAGS="$(ASTCFLAGS)" $(MAKE) -C ilbc all
+       @$(MAKE) -C ilbc all
 
 codec_ilbc.so: $(LIBILBC)