aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormalcolmd <malcolmd@f38db490-d61c-443f-a65b-d21fe96a405b>2004-01-15 21:31:26 +0000
committermalcolmd <malcolmd@f38db490-d61c-443f-a65b-d21fe96a405b>2004-01-15 21:31:26 +0000
commit921e4d00d064402c3f1155c6feb74c3d1c5912af (patch)
treea6cf7a5ac39ad504e104eb7c12b5a9ed672f5498
parent19db091314243f1cefa88064ea8c12a1c109e3d5 (diff)
Bug #857. More fixes for GSM Makefile for PPC
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2040 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-xcodecs/gsm/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile
index a81bcf985..747de59e4 100755
--- a/codecs/gsm/Makefile
+++ b/codecs/gsm/Makefile
@@ -39,9 +39,11 @@ WAV49 = -DWAV49
ifneq (${OSARCH},Darwin)
ifneq (${PROC},x86_64)
+ifneq ($(shell uname -m),ppc)
OPTIMIZE+=-march=$(PROC)
endif
endif
+endif
PG =
#PG = -g -pg
@@ -197,9 +199,11 @@ GSM_SOURCES = $(SRC)/add.c \
$(SRC)/table.c
ifeq (${OSARCH},Linux)
ifneq (${PROC},x86_64)
+ifneq ($(shell uname -m),ppc)
GSM_SOURCES+= $(SRC)/k6opt.s
endif
endif
+endif
TOAST_SOURCES = $(SRC)/toast.c \
$(SRC)/toast_lin.c \
@@ -246,9 +250,11 @@ GSM_OBJECTS = $(SRC)/add.o \
$(SRC)/table.o
ifeq (${OSARCH},Linux)
ifneq (${PROC},x86_64)
+ifneq ($(shell uname -m), ppc)
GSM_OBJECTS+= $(SRC)/k6opt.o
endif
endif
+endif
TOAST_OBJECTS = $(SRC)/toast.o \
$(SRC)/toast_lin.o \