diff options
author | Malcolm Davenport <malcolmd@digium.com> | 2004-01-08 16:52:11 +0000 |
---|---|---|
committer | Malcolm Davenport <malcolmd@digium.com> | 2004-01-08 16:52:11 +0000 |
commit | 3470e79f83a431fa815dad6d2e3788715f148fcb (patch) | |
tree | 1022f9dcbdf7d41da37922c7a94a329846ea14be /codecs/gsm | |
parent | 772b6b66b12c208e5c48bba345138956fb969f9f (diff) |
Add the SuSE AMD64 support and fixes from Bug #706
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1904 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/gsm')
-rwxr-xr-x | codecs/gsm/Makefile | 6 |
1 files changed, 6 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 \ |