Russell Bryant
18c87d730f
Use uname -s, as done in trunk.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@252927 65c4cc65-6c06-0410-ace0-fbb531ad65f3
15 years ago
Russell Bryant
df1a03e005
Apply codec_gsm Mac OS X 10.6 build fix that is in trunk and 1.6.X.
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@252851 65c4cc65-6c06-0410-ace0-fbb531ad65f3
15 years ago
Kevin P. Fleming
75f1eaf2a1
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@207647 65c4cc65-6c06-0410-ace0-fbb531ad65f3
16 years ago
Kevin P. Fleming
187f6d485a
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@157859 65c4cc65-6c06-0410-ace0-fbb531ad65f3
17 years ago
Jason Parker
831a7f2720
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@111856 65c4cc65-6c06-0410-ace0-fbb531ad65f3
17 years ago
Jason Parker
d85d47e343
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: https://origsvn.digium.com/svn/asterisk/branches/1.4@110474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
17 years ago
Tilghman Lesher
42d3e979f6
Add another exception (which doesn't work) for -march optimization flag.
...
Reported by: thomasmebes
Patch by: tilghman
(Closes issue #11563 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@98266 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Joshua Colp
26623e4e1c
(closes issue #10679 )
...
Reported by: andrew
Build under dev mode when K6OPTS is enabled.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@82265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
18 years ago
Russell Bryant
4b6558fb6b
Filter out yet another architecture that does not work with the optimizations
...
in the built-in libgsm. (issue 8637, ovi)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@55050 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
9bb2b196ce
Add a couple more processors that need optimizations excluded.
...
(issue #8637 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@51331 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
9a78e1f90e
remove some now-unnecessary explicit includes of autoconfig.h
...
clean up per-file dependencies during 'make clean'
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@48554 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
468fbbf3ca
Fixes for cross-compilation on mips
...
(issue #8058 , ywalther, with some modifications)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46847 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
ec2e4f2216
fix a few build system bugs, and convert Makefiles to be compatible with GNU make 3.80
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44055 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
704397dc3c
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
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@44008 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Jason Parker
8699205857
be a little more consistent with our variable usage
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
9df34a3d40
fix codec_gsm build for powerpc
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40993 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
0a27d8bfe5
merge new_loader_completion branch, including (at least):
...
- 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: https://origsvn.digium.com/svn/asterisk/trunk@40722 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Steve Murphy
1bb760f347
Added a small fix to exclude the AMD optimized assembly file from being 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: https://origsvn.digium.com/svn/asterisk/trunk@38187 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Russell Bryant
ebbca8319b
eliminate warning about unused variable that occurs in some cases
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37298 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
4f826452cf
make the build output less noisy (optional, can be controlled by the NOISY_BUILD variable in the top-level Makefile)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37273 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
b31b0be819
various minor portability fixes (mostly from tholo for OpenBSD)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33350 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
9afb0e1cd2
Merged revisions 30874 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@30875 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
96016e9206
Merged revisions 30802 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@30803 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
35fa97d1d5
use the proper method for adding a new entry
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
df814221c1
Merged revisions 30296 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@30297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Kevin P. Fleming
574e14cbea
Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Joshua Colp
5b1069f262
Add more 64-bit detection goodness (issue #6850 reported by evilbunny)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
19 years ago
Tilghman Lesher
adef31698f
Bug 6709 - Simplify extensive embedded ifneq logic (and fix missing endif's)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12714 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Russell Bryant
083a9627b5
Merged revisions 12577 via svnmerge from
...
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: https://origsvn.digium.com/svn/asterisk/trunk@12610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
6204abdae2
merge rizzo's patch to make compiler warnings stop the build, and fix a bunch of warnings found
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
4ed461db16
set proper mime-type and eol-style on all files
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9991 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
c7da92d2ea
fix compiler warnings
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9468 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matthew Fredrickson
4f803dfda0
Lots of little fixes for doing MSVC compiling codecs in windows ( #6022 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9450 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matthew Fredrickson
67e32c3f2d
fix for codec_gsm on ia64 ( #6294 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
2c65582b66
remove extraneous svn:executable properties
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
c14588af86
remove remaining .cvsignore files
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7220 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
77390dfeaf
issue #5572
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7018 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
7ffb604a2f
issue #4678
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6936 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
df909bed06
Fix ipaq build (bug #4545 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5937 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Matthew Fredrickson
ef254b7819
Makefile update for codec_gsm.c to cross compile for powerpc (bug #4228 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5645 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Kevin P. Fleming
a729a57ba1
fix various compiler warnings
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5491 65c4cc65-6c06-0410-ace0-fbb531ad65f3
20 years ago
Mark Spencer
a0a2592025
Fix cross compiling (bug #3868 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
1bb8d52938
Flush out app stuff, make profiling easier to turn on/off
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5150 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
9f6e3aed8a
Fix GSM makefile for OpenBSD (bug #3102 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
11b29650d5
Fix Makefile for ppc64 (bug #3111 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4506 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
9d40b8ee80
Merge slimey's Solaris compatibility (with small mods) (bug #2740 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4446 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
7a5dfd65ba
Fix minor makefile issues (bug #3036 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4444 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
82db278716
More Asterisk sparc patches (courtesy Belgarath)
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
8ff9c0d1b9
Adjust Makefiles to support Ultrasparc architecture (thanks Belgarath) (bug #2319 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3684 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago
Mark Spencer
3db853b428
Merge source cleanups (bug #1911 )
...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3311 65c4cc65-6c06-0410-ace0-fbb531ad65f3
21 years ago