diff options
Diffstat (limited to 'codecs/gsm/Makefile')
-rwxr-xr-x | codecs/gsm/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile index a21bd7e52..06e96414a 100755 --- a/codecs/gsm/Makefile +++ b/codecs/gsm/Makefile @@ -42,12 +42,14 @@ ifneq (${PROC},x86_64) ifneq (${PROC},ultrasparc) ifneq ($(shell uname -m),ppc) ifneq ($(shell uname -m),alpha) +ifneq (${PROC},sparc64) OPTIMIZE+=-march=$(PROC) 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. @@ -489,7 +491,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. |