From 20ef4fa9e2013bde8d7823c0811b34021be0324e Mon Sep 17 00:00:00 2001 From: markster Date: Sat, 15 Jan 2005 19:04:45 +0000 Subject: Fix H.323 build on ppc (bug #3353) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4801 f38db490-d61c-443f-a65b-d21fe96a405b --- channels/h323/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3