Fix GSM makefile for OpenBSD (bug #3102)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer 2004-12-21 00:03:59 +00:00
parent 11b29650d5
commit 9f6e3aed8a
1 changed files with 2 additions and 0 deletions

View File

@ -44,6 +44,7 @@ ifneq (${PROC},ultrasparc)
ifneq ($(shell uname -m),ppc)
ifneq ($(shell uname -m),ppc64)
ifneq ($(shell uname -m),alpha)
ifneq (${PROC},sparc64)
OPTIMIZE+=-march=$(PROC)
endif
endif
@ -52,6 +53,7 @@ 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.