Fix H.323 build on ppc (bug #3353)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4801 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2005-01-15 19:04:45 +00:00
parent c487ca43e6
commit a0e6229adb

View File

@@ -20,9 +20,12 @@ endif
# This needs to be updated to deal with more than just little endian machines # This needs to be updated to deal with more than just little endian machines
# #
OSARCH=$(shell uname -s) OSARCH=$(shell uname -s)
PROC=$(shell uname -m)
ifneq (${OSARCH},FreeBSD) ifneq (${OSARCH},FreeBSD)
ifneq (${OSARCH},NetBSD) ifneq (${OSARCH},NetBSD)
CFLAGS += -march=$(shell uname -m) ifneq (${PROC},ppc)
CFLAGS += -march=$(ARCH)
endif
endif endif
endif endif
CFLAGS += -DPBYTE_ORDER=PLITTLE_ENDIAN CFLAGS += -DPBYTE_ORDER=PLITTLE_ENDIAN