Update to work around G.729 compile issues, for now

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1119 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Jeremy McNamara
2003-06-25 06:48:08 +00:00
parent 10183deadb
commit 01e8718ad5
4 changed files with 20 additions and 5 deletions

View File

@@ -16,11 +16,21 @@ ifndef ASTETCDIR
ASTETCDIR=/etc/asterisk
endif
CFLAGS += -DNDEBUG -DDO_CRASH -DDEBUG_THREADS
CFLAGS = -pipe -Wall -fPIC -Wmissing-prototypes -Wmissing-declarations
CFLAGS += -DP_LINUX -D_REENTRANT -D_GNU_SOURCE
#Uncomment if u want to attempt to include the G.729 stuff
# This is a quick fix to work around the missing H323Capability
# in Open H.323
#
#CFLAGS += -DWANT_G729
#
# This needs to be updated to deal with more than just little endian machines
#
CFLAGS += -march=$(shell uname -m) -DPBYTE_ORDER=PLITTLE_ENDIAN
# Only change below if you know WTF your doing
#
CFLAGS += -DNDEBUG -DDO_CRASH -DDEBUG_THREADS
CFLAGS += -pipe -Wall -fPIC -Wmissing-prototypes -Wmissing-declarations
CFLAGS += -DP_LINUX -D_REENTRANT -D_GNU_SOURCE
CFLAGS += -DP_HAS_SEMAPHORES -DP_SSL -DP_PTHREADS
CFLAGS += -DPHAS_TEMPLATES -DPTRACING -DP_USE_PRAGMA
CFLAGS += -I$(PWLIBDIR)/include/ptlib/unix -I$(PWLIBDIR)/include