aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/gsm
AgeCommit message (Collapse)AuthorFilesLines
2011-03-11Use "-march=native" when possible.kpfleming1-18/+23
Recent versions of GCC have a tuning option value of 'native', which causes the compiler to optimize the build for the CPU the compile is performed on. Since most people are building Asterisk on the machine they plan to run it on, the configure script and build system will now use this value unless a different value is specified by the user in CFLAGS when the configure script is executed. In addition, this value will be used for building the GSM and LPC10 codecs as well, in preference to the logic that has been in their Makefiles forever to optimize for certain types of CPUs. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@310332 f38db490-d61c-443f-a65b-d21fe96a405b
2010-09-09Merged revisions 285819 via svnmerge from pabelanger1-0/+8
https://origsvn.digium.com/svn/asterisk/branches/1.8 ................ r285819 | pabelanger | 2010-09-09 18:52:31 -0400 (Thu, 09 Sep 2010) | 22 lines Merged revisions 285818 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.6.2 ................ r285818 | pabelanger | 2010-09-09 18:49:19 -0400 (Thu, 09 Sep 2010) | 15 lines Merged revisions 285817 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r285817 | pabelanger | 2010-09-09 18:34:35 -0400 (Thu, 09 Sep 2010) | 8 lines GCC 4.2.x optimizations result in improper behavior of GSM codec (closes issue #17688) Reported by: pprindeville Patches: asterisk-trunk-bugid11243.patch uploaded by pprindeville (license 347) Tested by: mkeuter, pprindeville ........ ................ ................ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@285820 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-16OSARCH is not inherited to this directorytilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252760 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-15Make the Makefile logic more explicit and move the Snow Leopard logic down ↵tilghman1-10/+12
to where it's not executed on non-Darwin systems. (closes issue #17028) Reported by: pabelanger Patches: issue17028_20100315.patch uploaded by seanbright (license 71) 20100315__issue17028.diff.txt uploaded by tilghman (license 14) Tested by: tilghman, pabelanger git-svn-id: http://svn.digium.com/svn/asterisk/trunk@252488 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-09Build system modifications to ensure that Asterisk properly builds on Mac OS ↵tilghman1-0/+5
X 10.6. (closes issue #16997) Reported by: jquinn Patches: 20100309__issue16997__2.diff.txt uploaded by tilghman (license 14) Tested by: tilghman, russell git-svn-id: http://svn.digium.com/svn/asterisk/trunk@251475 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-21Merged revisions 207647 via svnmerge from kpfleming1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r207647 | kpfleming | 2009-07-21 08:04:44 -0500 (Tue, 21 Jul 2009) | 12 lines Ensure that user-provided CFLAGS and LDFLAGS are honored. This commit changes the build system so that user-provided flags (in ASTCFLAGS and ASTLDFLAGS) are supplied to the compiler/linker *after* all flags provided by the build system itself, so that the user can effectively override the build system's flags if desired. In addition, ASTCFLAGS and ASTLDFLAGS can now be provided *either* in the environment before running 'make', or as variable assignments on the 'make' command line. As a result, the use of COPTS and LDOPTS is no longer necessary, so they are no longer documented, but are still supported so as not to break existing build systems that supply them when building Asterisk. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@207680 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-18fixes some memory leaks and redundant conditionsdvossel1-1/+1
(closes issue #15269) Reported by: contactmayankjain Patches: patch.txt uploaded by contactmayankjain (license 740) memory_leak_stuff.trunk.diff uploaded by dvossel (license 671) Tested by: contactmayankjain, dvossel git-svn-id: http://svn.digium.com/svn/asterisk/trunk@201678 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-20Merged revisions 157859 via svnmerge from kpfleming1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r157859 | kpfleming | 2008-11-19 15:34:47 -0600 (Wed, 19 Nov 2008) | 7 lines the gcc optimizer frequently finds broken code (use of uninitalized variables, unreachable code, etc.), which is good. however, developers usually compile with the optimizer turned off, because if they need to debug the resulting code, optimized code makes that process very difficult. this means that we get code changes committed that weren't adequately checked over for these sorts of problems. with this build system change, if (and only if) --enable-dev-mode was used and DONT_OPTIMIZE is turned on, when a source file is compiled it will actually be preprocessed (into a .i or .ii file), then compiled once with optimization (with the result sent to /dev/null) and again without optimization (but only if the first compile succeeded, of course). while making these changes, i did some cleanup work in Makefile.rules to move commonly-used combinations of flag variables into their own variables, to make the file easier to read and maintain ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@157974 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-28Merged revisions 111856 via svnmerge from qwell1-3/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r111856 | qwell | 2008-03-28 16:45:35 -0500 (Fri, 28 Mar 2008) | 12 lines Allow gsm to compile correctly on x86 with gcc4 optimizations. (closes issue #11243) Reported by: whiskerp Patches: 11243-maybe-asm.diff uploaded by qwell (license 4) Tested by: Seggy (IRC) Note: While I did write this patch, I would not have found this if fossil had not reported and fixed issue #12253. A huge thanks to him for helping to (indirectly) find the problem here. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@111857 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-21Merged revisions 110474 via svnmerge from qwell1-3/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r110474 | qwell | 2008-03-21 09:32:52 -0500 (Fri, 21 Mar 2008) | 7 lines Don't attempt to do optimizations of gsm on mips platforms either. (closes issue #12270) Reported by: zandbelt Patches: 026-gsm-mips.patch uploaded by zandbelt (license 33) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@110475 f38db490-d61c-443f-a65b-d21fe96a405b
2007-09-11Merged revisions 82265 via svnmerge from file2-2/+8
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r82265 | file | 2007-09-11 18:41:49 -0300 (Tue, 11 Sep 2007) | 4 lines (closes issue #10679) Reported by: andrew Build under dev mode when K6OPTS is enabled. ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@82266 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-18Return GSM to a state where it actually builds under dev mode.file1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55352 f38db490-d61c-443f-a65b-d21fe96a405b
2007-02-17Merged revisions 55050 via svnmerge from russell1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r55050 | russell | 2007-02-16 18:31:42 -0600 (Fri, 16 Feb 2007) | 3 lines Filter out yet another architecture that does not work with the optimizations in the built-in libgsm. (issue 8637, ovi) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@55051 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-19Merged revisions 51331 via svnmerge from russell1-3/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r51331 | russell | 2007-01-19 13:30:54 -0600 (Fri, 19 Jan 2007) | 3 lines Add a couple more processors that need optimizations excluded. (issue #8637) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@51332 f38db490-d61c-443f-a65b-d21fe96a405b
2006-12-18Merged revisions 48554 via svnmerge from kpfleming1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r48554 | kpfleming | 2006-12-18 05:59:24 -0600 (Mon, 18 Dec 2006) | 3 lines remove some now-unnecessary explicit includes of autoconfig.h clean up per-file dependencies during 'make clean' ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@48555 f38db490-d61c-443f-a65b-d21fe96a405b
2006-11-01Merged revisions 46847 via svnmerge from russell1-3/+3
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r46847 | russell | 2006-11-01 17:51:21 -0500 (Wed, 01 Nov 2006) | 3 lines Fixes for cross-compilation on mips (issue #8058, ywalther, with some modifications) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@46848 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29Merged revisions 44055 via svnmerge from kpfleming1-1/+5
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r44055 | kpfleming | 2006-09-29 17:47:40 -0500 (Fri, 29 Sep 2006) | 2 lines fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80 ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@44056 f38db490-d61c-443f-a65b-d21fe96a405b
2006-09-29Merged revisions 43996-43997,44008,44011-44012 via svnmerge from kpfleming1-6/+1
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
2006-09-19be a little more consistent with our variable usageqwell1-5/+5
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43257 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-24fix codec_gsm build for powerpcrussell1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40993 f38db490-d61c-443f-a65b-d21fe96a405b
2006-08-21merge new_loader_completion branch, including (at least):kpfleming1-3/+3
- restructured build tree and makefiles to eliminate recursion problems - support for embedded modules - support for static builds - simpler cross-compilation support - simpler module/loader interface (no exported symbols) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@40722 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-24Added a small fix to exclude the AMD optimized assembly file from being ↵murf1-2/+2
included in the compile. I don't particular like the approach, which basically tries to exclude the file based on NOT being in a list of arches. This, IMHO, is backwards, it should be a list of AMD arches instead. "Better to light a candle, than to curse the darkness", is apropo here. But since I don't have an exhaustive list of what those arches could be, I leave as-is for now. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@38187 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-07eliminate warning about unused variable that occurs in some casesrussell1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37298 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-06make the build output less noisy (optional, can be controlled by the ↵kpfleming1-8/+3
NOISY_BUILD variable in the top-level Makefile) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37273 f38db490-d61c-443f-a65b-d21fe96a405b
2006-06-09various minor portability fixes (mostly from tholo for OpenBSD)kpfleming1-10/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@33350 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-30Merged revisions 30874 via svnmerge from kpfleming1-2/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r30874 | kpfleming | 2006-05-30 14:18:30 -0500 (Tue, 30 May 2006) | 2 lines check the proper variable... ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30875 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-30Merged revisions 30802 via svnmerge from kpfleming1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r30802 | kpfleming | 2006-05-30 11:07:16 -0500 (Tue, 30 May 2006) | 2 lines another S/390 build fix ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30803 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25use the proper method for adding a new entrykpfleming1-2/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30361 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-25Merged revisions 30296 via svnmerge from kpfleming1-0/+1
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r30296 | kpfleming | 2006-05-25 12:39:33 -0500 (Thu, 25 May 2006) | 2 lines don't try to use -march=s390 when building on S/390 systems (reported via asterisk-users mailing list) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@30297 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have ↵kpfleming1-3/+0
autoconf and menuselect tools for Asterisk! git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22267 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-30Add more 64-bit detection goodness (issue #6850 reported by evilbunny)file1-3/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@16564 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-13Bug 6709 - Simplify extensive embedded ifneq logic (and fix missing endif's)tilghman1-51/+11
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12714 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-12Merged revisions 12577 via svnmerge from russell1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r12577 | russell | 2006-03-12 12:57:37 -0500 (Sun, 12 Mar 2006) | 2 lines fix build on parisc (issue #6704) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12610 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-22merge rizzo's patch to make compiler warnings stop the build, and fix a ↵kpfleming1-1/+1
bunch of warnings found git-svn-id: http://svn.digium.com/svn/asterisk/trunk@10805 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-14set proper mime-type and eol-style on all fileskpfleming1-253/+253
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9991 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-11fix compiler warningskpfleming1-4/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9468 f38db490-d61c-443f-a65b-d21fe96a405b
2006-02-10Lots of little fixes for doing MSVC compiling codecs in windows (#6022)mattf10-52/+300
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@9450 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-20fix for codec_gsm on ia64 (#6294)mattf1-0/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@8361 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 ↵kpfleming28-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7220 ↵kpfleming1-1/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-08issue #5572kpfleming1-1/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7018 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-01issue #4678kpfleming1-1/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6936 f38db490-d61c-443f-a65b-d21fe96a405b
2005-06-18Fix ipaq build (bug #4545)markster1-0/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5937 f38db490-d61c-443f-a65b-d21fe96a405b
2005-05-13Makefile update for codec_gsm.c to cross compile for powerpc (bug #4228)mattf1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5645 f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-21fix various compiler warningskpfleming7-20/+16
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5491 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-27Fix cross compiling (bug #3868)markster1-0/+4
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5278 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-05Flush out app stuff, make profiling easier to turn on/offmarkster1-2/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5150 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-21Fix GSM makefile for OpenBSD (bug #3102)markster1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4507 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-20Fix Makefile for ppc64 (bug #3111)markster1-0/+6
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4506 f38db490-d61c-443f-a65b-d21fe96a405b
2004-12-14Merge slimey's Solaris compatibility (with small mods) (bug #2740)markster1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4446 f38db490-d61c-443f-a65b-d21fe96a405b