mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-04 03:50:31 +00:00
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
This commit is contained in:
@@ -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 \
|
||||
|
Reference in New Issue
Block a user