summaryrefslogtreecommitdiff
path: root/codecs/gsm/Makefile
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-12-21 00:03:59 +0000
committerMark Spencer <markster@digium.com>2004-12-21 00:03:59 +0000
commit9f6e3aed8ab6040436eaa72cdee373cc7f80e285 (patch)
tree6f0989ef5e8e912cc90cc9c21d58689cb2dcc9fc /codecs/gsm/Makefile
parent11b29650d5f93ded4bb25802410ff787a843ee51 (diff)
Fix GSM makefile for OpenBSD (bug #3102)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4507 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/gsm/Makefile')
-rwxr-xr-xcodecs/gsm/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile
index f8a194add..0bf4c0f8a 100755
--- a/codecs/gsm/Makefile
+++ b/codecs/gsm/Makefile
@@ -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.