diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-15 19:04:45 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-15 19:04:45 +0000 |
commit | 20ef4fa9e2013bde8d7823c0811b34021be0324e (patch) | |
tree | 86d35d3ba8565af8d63f3106e00d4080815cbf65 /channels/h323 | |
parent | d791226bcbc1bf3e01bc6e55e5a4e1e65373686e (diff) |
Fix H.323 build on ppc (bug #3353)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4801 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/h323')
-rwxr-xr-x | channels/h323/Makefile | 5 |
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 |