[asterisk-commits] russell: trunk r38271 - /trunk/codecs/Makefile

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jul 26 16:12:47 MST 2006


Author: russell
Date: Wed Jul 26 18:12:47 2006
New Revision: 38271

URL: http://svn.digium.com/view/asterisk?rev=38271&view=rev
Log:
fix setting the CFLAGS for building codec libs so that they are built with
astmm support and astmm doesn't get really upset and complain that it is being
asked to free memory that was never allocated

Modified:
    trunk/codecs/Makefile

Modified: trunk/codecs/Makefile
URL: http://svn.digium.com/view/asterisk/trunk/codecs/Makefile?rev=38271&r1=38270&r2=38271&view=diff
==============================================================================
--- trunk/codecs/Makefile (original)
+++ trunk/codecs/Makefile Wed Jul 26 18:12:47 2006
@@ -42,14 +42,14 @@
 
 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)



More information about the asterisk-commits mailing list