fix for sparc64 (bug #3102)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@4517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Russell Bryant
2004-12-21 20:49:24 +00:00
parent 1298f6585d
commit 51ea5a2797

View File

@@ -42,12 +42,14 @@ ifneq (${PROC},x86_64)
ifneq (${PROC},ultrasparc) ifneq (${PROC},ultrasparc)
ifneq ($(shell uname -m),ppc) ifneq ($(shell uname -m),ppc)
ifneq ($(shell uname -m),alpha) ifneq ($(shell uname -m),alpha)
ifneq (${PROC},sparc64)
OPTIMIZE+=-march=$(PROC) OPTIMIZE+=-march=$(PROC)
endif endif
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. #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. #This works for even old (2.96) versions of gcc and provides a small boost either way.