aboutsummaryrefslogtreecommitdiffstats
path: root/channels/h323/Makefile
diff options
context:
space:
mode:
authorjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2003-06-25 06:48:08 +0000
committerjeremy <jeremy@f38db490-d61c-443f-a65b-d21fe96a405b>2003-06-25 06:48:08 +0000
commit7f1f171f45d55d864c68da311af707b6d737c67d (patch)
tree922a7c0bd55c38014bc5d935e6124a38c9f0faf4 /channels/h323/Makefile
parent3e0ef72f89a2c9ea0794a6b8115b0081cf1f571c (diff)
Update to work around G.729 compile issues, for now
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1119 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323/Makefile')
-rwxr-xr-xchannels/h323/Makefile16
1 files changed, 13 insertions, 3 deletions
diff --git a/channels/h323/Makefile b/channels/h323/Makefile
index c7b7d13f3..56d8ec03d 100755
--- a/channels/h323/Makefile
+++ b/channels/h323/Makefile
@@ -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