diff options
author | (no author) <(no author)@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-06-22 14:01:26 +0000 |
---|---|---|
committer | (no author) <(no author)@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-06-22 14:01:26 +0000 |
commit | 37b6f7cd5ab2956c3a9459770f539b8079f52bd6 (patch) | |
tree | 495cbc5b5c4f6afec257542b91928ba91d708488 /codecs/gsm | |
parent | 27a9c96742202c8188b53a0173649de479256b69 (diff) |
This commit was manufactured by cvs2svn to create tag 'v1-0-8'.
git-svn-id: http://svn.digium.com/svn/asterisk/tags/v1-0-8@5968 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs/gsm')
-rwxr-xr-x | codecs/gsm/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile index a21bd7e52..895df113e 100755 --- a/codecs/gsm/Makefile +++ b/codecs/gsm/Makefile @@ -42,12 +42,20 @@ ifneq (${PROC},x86_64) ifneq (${PROC},ultrasparc) ifneq ($(shell uname -m),ppc) ifneq ($(shell uname -m),alpha) +ifneq ($(shell uname -m),armv4l) +ifneq (${PROC},sparc64) +ifneq (${PROC},ppc) +ifneq (${PROC},ppc64) OPTIMIZE+=-march=$(PROC) endif endif endif endif 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. @@ -214,6 +222,7 @@ ifeq (${OSARCH},Linux) ifneq ($(shell uname -m),x86_64) ifneq ($(shell uname -m),ppc) ifneq ($(shell uname -m),alpha) +ifneq ($(shell uname -m),armv4l) ifneq ($(shell uname -m),sparc64) GSM_SOURCES+= $(SRC)/k6opt.s endif @@ -221,6 +230,7 @@ endif endif endif endif +endif TOAST_SOURCES = $(SRC)/toast.c \ $(SRC)/toast_lin.c \ @@ -270,6 +280,7 @@ ifeq (${OSARCH},Linux) ifneq ($(shell uname -m), x86_64) ifneq ($(shell uname -m), ppc) ifneq ($(shell uname -m), alpha) +ifneq ($(shell uname -m), armv4l) ifneq ($(shell uname -m), sparc64) GSM_OBJECTS+= $(SRC)/k6opt.o endif @@ -277,6 +288,7 @@ endif endif endif endif +endif TOAST_OBJECTS = $(SRC)/toast.o \ $(SRC)/toast_lin.o \ @@ -489,7 +501,7 @@ clean: semi-clean -rm $(RMFLAGS) $(LIBGSM) $(ADDTST)/add \ $(TOAST) $(TCAT) $(UNTOAST) \ $(ROOT)/gsm-1.0.tar.Z - + rm -rf lib # Two tools that helped me generate gsm_encode.c and gsm_decode.c, # but aren't generally needed to port this. |