summaryrefslogtreecommitdiff
path: root/channels/h323
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-01-15 19:04:45 +0000
committerMark Spencer <markster@digium.com>2005-01-15 19:04:45 +0000
commita0e6229adb2549685c6a00872c0be83b8ab45ec8 (patch)
tree86d35d3ba8565af8d63f3106e00d4080815cbf65 /channels/h323
parentc487ca43e669f4a62b0c9c8f31d0aa631845f4fd (diff)
Fix H.323 build on ppc (bug #3353)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/h323')
-rwxr-xr-xchannels/h323/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/channels/h323/Makefile b/channels/h323/Makefile
index 97293d24f..86dbee4e7 100755
--- a/channels/h323/Makefile
+++ b/channels/h323/Makefile
@@ -20,9 +20,12 @@ endif
# This needs to be updated to deal with more than just little endian machines
#
OSARCH=$(shell uname -s)
+PROC=$(shell uname -m)
ifneq (${OSARCH},FreeBSD)
ifneq (${OSARCH},NetBSD)
-CFLAGS += -march=$(shell uname -m)
+ifneq (${PROC},ppc)
+CFLAGS += -march=$(ARCH)
+endif
endif
endif
CFLAGS += -DPBYTE_ORDER=PLITTLE_ENDIAN