--- asterisk-1.2.6.orig/codecs/gsm/Makefile 2006-03-12 09:57:37.000000000 -0800 +++ asterisk-1.2.6/codecs/gsm/Makefile 2006-03-30 10:33:33.000000000 -0800 @@ -40,6 +40,7 @@ ifneq (${OSARCH},Darwin) ifneq (${OSARCH},SunOS) ifneq (${PROC},x86_64) +ifneq (${PROC},amd64) ifneq (${PROC},ultrasparc) ifneq ($(shell uname -m),ppc) ifneq ($(shell uname -m),ppc64) @@ -62,6 +63,7 @@ endif endif endif +endif #The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only. #This works for even old (2.96) versions of gcc and provides a small boost either way. @@ -230,6 +232,7 @@ $(SRC)/table.c ifeq (${OSARCH},Linux) ifneq ($(shell uname -m),x86_64) +ifneq ($(shell uname -m),amd64) ifneq ($(shell uname -m),ppc) ifneq ($(shell uname -m),ppc64) ifneq ($(shell uname -m),alpha) @@ -247,6 +250,7 @@ endif endif endif +endif TOAST_SOURCES = $(SRC)/toast.c \ $(SRC)/toast_lin.c \ @@ -294,6 +298,7 @@ ifeq (${OSARCH},Linux) ifneq ($(shell uname -m), x86_64) +ifneq ($(shell uname -m), amd64) ifneq ($(shell uname -m), ppc) ifneq ($(shell uname -m), ppc64) ifneq ($(shell uname -m), alpha) @@ -309,6 +314,7 @@ endif endif endif +endif TOAST_OBJECTS = $(SRC)/toast.o \ $(SRC)/toast_lin.o \