From c43f01c2111af13fa3fc31d69dc0207e01eacc6e Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Thu, 30 Mar 2006 21:44:03 +0000 Subject: [PATCH] Add another check for 64-bit goodness (issue #6850 reported by evilbunny) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.2@16559 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- codecs/gsm/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile index 5fb815c504..5da9cd465b 100644 --- a/codecs/gsm/Makefile +++ b/codecs/gsm/Makefile @@ -40,6 +40,7 @@ WAV49 = -DWAV49 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 +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 @@ GSM_SOURCES = $(SRC)/add.c \ $(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 +endif TOAST_SOURCES = $(SRC)/toast.c \ $(SRC)/toast_lin.c \ @@ -294,6 +298,7 @@ GSM_OBJECTS = $(SRC)/add.o \ 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 +endif TOAST_OBJECTS = $(SRC)/toast.o \ $(SRC)/toast_lin.o \