summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
Diffstat (limited to 'channels')
-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