aboutsummaryrefslogtreecommitdiffstats
path: root/codecs
diff options
context:
space:
mode:
authormalcolmd <malcolmd@f38db490-d61c-443f-a65b-d21fe96a405b>2004-01-08 16:52:11 +0000
committermalcolmd <malcolmd@f38db490-d61c-443f-a65b-d21fe96a405b>2004-01-08 16:52:11 +0000
commit8962cd4b9a5e9bf4bbb8f1d017195406f7f35b37 (patch)
tree1022f9dcbdf7d41da37922c7a94a329846ea14be /codecs
parent97851e365d32efffdedbee21203b91b7f9e98fdb (diff)
Add the SuSE AMD64 support and fixes from Bug #706
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1904 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs')
-rwxr-xr-xcodecs/gsm/Makefile6
-rwxr-xr-xcodecs/lpc10/Makefile2
2 files changed, 8 insertions, 0 deletions
diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile
index 490f3938c..a81bcf985 100755
--- a/codecs/gsm/Makefile
+++ b/codecs/gsm/Makefile
@@ -38,8 +38,10 @@ WAV49 = -DWAV49
######### probably require gcc.
ifneq (${OSARCH},Darwin)
+ifneq (${PROC},x86_64)
OPTIMIZE+=-march=$(PROC)
endif
+endif
PG =
#PG = -g -pg
@@ -194,8 +196,10 @@ GSM_SOURCES = $(SRC)/add.c \
$(SRC)/short_term.c \
$(SRC)/table.c
ifeq (${OSARCH},Linux)
+ifneq (${PROC},x86_64)
GSM_SOURCES+= $(SRC)/k6opt.s
endif
+endif
TOAST_SOURCES = $(SRC)/toast.c \
$(SRC)/toast_lin.c \
@@ -241,8 +245,10 @@ GSM_OBJECTS = $(SRC)/add.o \
$(SRC)/short_term.o \
$(SRC)/table.o
ifeq (${OSARCH},Linux)
+ifneq (${PROC},x86_64)
GSM_OBJECTS+= $(SRC)/k6opt.o
endif
+endif
TOAST_OBJECTS = $(SRC)/toast.o \
$(SRC)/toast_lin.o \
diff --git a/codecs/lpc10/Makefile b/codecs/lpc10/Makefile
index 42ff10638..e9dbd9d02 100755
--- a/codecs/lpc10/Makefile
+++ b/codecs/lpc10/Makefile
@@ -28,9 +28,11 @@ CFLAGS = $(OPTIMIZE) -I$(LIB_TARGET_DIR) $(WARNINGS) -fPIC
#fix for PPC processors
ifneq ($(OSARCH),Darwin)
ifneq ($(PROC),ppc)
+ifneq ($(PROC),x86_64)
CFLAGS+= -march=$(PROC)
endif
endif
+endif
LIB = $(LIB_TARGET_DIR)/liblpc10.a