From: Mark Spencer Date: Tue, 21 Dec 2004 00:03:59 +0000 (+0000) Subject: Fix GSM makefile for OpenBSD (bug #3102) X-Git-Tag: 1.2.0-beta1~1615 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9f6e3aed8ab6040436eaa72cdee373cc7f80e285;p=thirdparty%2Fasterisk.git Fix GSM makefile for OpenBSD (bug #3102) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4507 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile index f8a194add5..0bf4c0f8ac 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.