From: Russell Bryant Date: Wed, 26 Jul 2006 23:12:47 +0000 (+0000) Subject: fix setting the CFLAGS for building codec libs so that they are built with X-Git-Tag: 1.4.0-beta1~515 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c1bd5cfe393f99e1cdc3955624a68969934a2cfb;p=thirdparty%2Fasterisk.git 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 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38271 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/codecs/Makefile b/codecs/Makefile index bb0de75829..f476e8a2b6 100644 --- a/codecs/Makefile +++ b/codecs/Makefile @@ -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)