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
1.2
Joshua Colp 20 years ago
parent 52aa07e2b2
commit c43f01c211

@ -40,6 +40,7 @@ WAV49 = -DWAV49
ifneq (${OSARCH},Darwin) ifneq (${OSARCH},Darwin)
ifneq (${OSARCH},SunOS) ifneq (${OSARCH},SunOS)
ifneq (${PROC},x86_64) ifneq (${PROC},x86_64)
ifneq (${PROC},amd64)
ifneq (${PROC},ultrasparc) ifneq (${PROC},ultrasparc)
ifneq ($(shell uname -m),ppc) ifneq ($(shell uname -m),ppc)
ifneq ($(shell uname -m),ppc64) ifneq ($(shell uname -m),ppc64)
@ -62,6 +63,7 @@ endif
endif endif
endif endif
endif endif
endif
#The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only. #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. #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 $(SRC)/table.c
ifeq (${OSARCH},Linux) ifeq (${OSARCH},Linux)
ifneq ($(shell uname -m),x86_64) ifneq ($(shell uname -m),x86_64)
ifneq ($(shell uname -m),amd64)
ifneq ($(shell uname -m),ppc) ifneq ($(shell uname -m),ppc)
ifneq ($(shell uname -m),ppc64) ifneq ($(shell uname -m),ppc64)
ifneq ($(shell uname -m),alpha) ifneq ($(shell uname -m),alpha)
@ -247,6 +250,7 @@ endif
endif endif
endif endif
endif endif
endif
TOAST_SOURCES = $(SRC)/toast.c \ TOAST_SOURCES = $(SRC)/toast.c \
$(SRC)/toast_lin.c \ $(SRC)/toast_lin.c \
@ -294,6 +298,7 @@ GSM_OBJECTS = $(SRC)/add.o \
ifeq (${OSARCH},Linux) ifeq (${OSARCH},Linux)
ifneq ($(shell uname -m), x86_64) ifneq ($(shell uname -m), x86_64)
ifneq ($(shell uname -m), amd64)
ifneq ($(shell uname -m), ppc) ifneq ($(shell uname -m), ppc)
ifneq ($(shell uname -m), ppc64) ifneq ($(shell uname -m), ppc64)
ifneq ($(shell uname -m), alpha) ifneq ($(shell uname -m), alpha)
@ -309,6 +314,7 @@ endif
endif endif
endif endif
endif endif
endif
TOAST_OBJECTS = $(SRC)/toast.o \ TOAST_OBJECTS = $(SRC)/toast.o \
$(SRC)/toast_lin.o \ $(SRC)/toast_lin.o \

Loading…
Cancel
Save