more optimizations for embedded systems:

when LOADABLE_MODULES is off, don't export symbols from the main binary
  when LOADABLE_MODULES is off, and the compiler/linker support it, strip out code not used in the final binary


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41166 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2006-08-26 16:45:35 +00:00
parent b374245688
commit aa7b32d175
5 changed files with 329 additions and 151 deletions

View File

@@ -32,6 +32,9 @@ PROC=@HOST_CPU@
OSARCH=@HOST_OS@
OSREV=@PBX_OSREV@
GC_CFLAGS=@GC_CFLAGS@
GC_LDFLAGS=@GC_LDFLAGS@
prefix = @prefix@
exec_prefix = @exec_prefix@