aboutsummaryrefslogtreecommitdiffstats
path: root/codecs
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-20 23:49:22 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-20 23:49:22 +0000
commitc44f07b76cfd860c8b3f981cc68b671f1cf062e2 (patch)
tree10f29952058851964f23735f66e904dc5ffb055b /codecs
parentd047bdcb01feadc2613097c642bd9090817c95f5 (diff)
Fix Makefile for ppc64 (bug #3111)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4506 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs')
-rwxr-xr-xcodecs/gsm/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile
index 6b34233b2..f8a194add 100755
--- a/codecs/gsm/Makefile
+++ b/codecs/gsm/Makefile
@@ -42,6 +42,7 @@ ifneq (${OSARCH},SunOS)
ifneq (${PROC},x86_64)
ifneq (${PROC},ultrasparc)
ifneq ($(shell uname -m),ppc)
+ifneq ($(shell uname -m),ppc64)
ifneq ($(shell uname -m),alpha)
OPTIMIZE+=-march=$(PROC)
endif
@@ -50,6 +51,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.
@@ -215,6 +217,7 @@ GSM_SOURCES = $(SRC)/add.c \
ifeq (${OSARCH},Linux)
ifneq ($(shell uname -m),x86_64)
ifneq ($(shell uname -m),ppc)
+ifneq ($(shell uname -m),ppc64)
ifneq ($(shell uname -m),alpha)
ifneq ($(shell uname -m),sparc64)
GSM_SOURCES+= $(SRC)/k6opt.s
@@ -223,6 +226,7 @@ endif
endif
endif
endif
+endif
TOAST_SOURCES = $(SRC)/toast.c \
$(SRC)/toast_lin.c \
@@ -271,6 +275,7 @@ GSM_OBJECTS = $(SRC)/add.o \
ifeq (${OSARCH},Linux)
ifneq ($(shell uname -m), x86_64)
ifneq ($(shell uname -m), ppc)
+ifneq ($(shell uname -m), ppc64)
ifneq ($(shell uname -m), alpha)
ifneq ($(shell uname -m), sparc64)
GSM_OBJECTS+= $(SRC)/k6opt.o
@@ -279,6 +284,7 @@ endif
endif
endif
endif
+endif
TOAST_OBJECTS = $(SRC)/toast.o \
$(SRC)/toast_lin.o \