diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-21 20:49:24 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-21 20:49:24 +0000 |
commit | d83e5b78c5bcd788b26c16f6bd10b6e3ece7d65d (patch) | |
tree | c98eb619b192d00955ec09ccaf10d0470c2dc985 | |
parent | fa4da02ddc353c456f86f865a354efcfb0001e04 (diff) |
fix for sparc64 (bug #3102)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-0@4517 f38db490-d61c-443f-a65b-d21fe96a405b
-rwxr-xr-x | codecs/gsm/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile index 86f25f11a..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. |