diff options
author | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-29 18:54:21 +0000 |
---|---|---|
committer | kpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-09-29 18:54:21 +0000 |
commit | 170dae49be63222c93841e0cc4b12598a8b47388 (patch) | |
tree | 90d8fe328a1e6371e95020100dad8cd49eb55be0 /codecs | |
parent | 18f0e3efb46368cfa21125c19a9a76cf678d17ca (diff) |
Merged revisions 43996-43997,44008,44011-44012 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r43996 | kpfleming | 2006-09-29 11:47:05 -0500 (Fri, 29 Sep 2006) | 2 lines
another cross-compile fix
........
r43997 | kpfleming | 2006-09-29 11:52:27 -0500 (Fri, 29 Sep 2006) | 2 lines
support --without-curl in configure script
........
r44008 | kpfleming | 2006-09-29 13:25:49 -0500 (Fri, 29 Sep 2006) | 2 lines
don't abuse CFLAGS and LDFLAGS for build of Asterisk components, because they are also then used for non-Asterisk components (like menuselect); use our own variables instead
........
r44011 | kpfleming | 2006-09-29 13:40:17 -0500 (Fri, 29 Sep 2006) | 2 lines
missed one conversion to ASTCFLAGS
........
r44012 | kpfleming | 2006-09-29 13:49:07 -0500 (Fri, 29 Sep 2006) | 2 lines
yet another place where we were not using the correct CFLAGS by default
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44013 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs')
-rw-r--r-- | codecs/Makefile | 6 | ||||
-rw-r--r-- | codecs/gsm/Makefile | 7 |
2 files changed, 4 insertions, 9 deletions
diff --git a/codecs/Makefile b/codecs/Makefile index cdc581d3d..8996ad452 100644 --- a/codecs/Makefile +++ b/codecs/Makefile @@ -42,14 +42,14 @@ clean:: gsm/lib/libgsm.a: @mkdir -p gsm/lib - @CFLAGS="$(OTHER_SUBDIR_CFLAGS) -I." $(MAKE) -C gsm lib/libgsm.a + @$(MAKE) -C gsm lib/libgsm.a $(LIBLPC10): - @CFLAGS="$(OTHER_SUBDIR_CFLAGS)" $(MAKE) -C lpc10 all + @$(MAKE) -C lpc10 all $(codec_lpc10): $(LIBLPC10) $(LIBILBC): - @CFLAGS="$(OTHER_SUBDIR_CFLAGS)" $(MAKE) -C ilbc all + @$(MAKE) -C ilbc all $(codec_ilbc): $(LIBILBC) diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile index 036bb530a..ba3a20062 100644 --- a/codecs/gsm/Makefile +++ b/codecs/gsm/Makefile @@ -72,7 +72,6 @@ PG = # CCFLAGS = -c -O CCFLAGS += -c -DNeedFunctionPrototypes=1 -funroll-loops $(OPTIMIZE) -CCFLAGS += -fPIC # LD = gcc # LDFLAGS = @@ -155,7 +154,7 @@ INC = $(ROOT)/inc DEBUG = -DNDEBUG ######### Remove -DNDEBUG to enable assertions. -CFLAGS += $(PG) $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) \ +ASTCFLAGS += $(PG) $(CCFLAGS) $(SASR) $(DEBUG) $(MULHACK) $(FAST) \ $(LTP_CUT) $(WAV49) $(K6OPT) $(CCINC) -I$(INC) ######### It's $(CC) $(CFLAGS) @@ -319,10 +318,6 @@ TOAST_INSTALL_TARGETS = \ # Default rules -.c.o: - $(CC) $(CFLAGS:-Werror=) $? - @-mv `$(BASENAME) $@` $@ > /dev/null 2>&1 - include $(ASTTOPDIR)/Makefile.rules # Target rules |