aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/gsm
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-21 00:03:59 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2004-12-21 00:03:59 +0000
commit625e2c693e6230c2e0aafd11089fafbd09229d19 (patch)
tree6f0989ef5e8e912cc90cc9c21d58689cb2dcc9fc /codecs/gsm
parentc44f07b76cfd860c8b3f981cc68b671f1cf062e2 (diff)
Fix GSM makefile for OpenBSD (bug #3102)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4507 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs/gsm')
-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.