mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-29 18:19:30 +00:00
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:
@@ -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
|
||||
|
Reference in New Issue
Block a user