From: Russell Bryant Date: Thu, 19 May 2005 02:59:43 +0000 (+0000) Subject: fix some compilation issues for ppc (bug #4228) X-Git-Tag: 1.0.11.1~117 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2e4b4764fbdeb42b62ca4608d575fc36d0b50e05;p=thirdparty%2Fasterisk.git fix some compilation issues for ppc (bug #4228) git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/v1-0@5728 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile index 06e96414a6..e311cf21b6 100755 --- a/codecs/gsm/Makefile +++ b/codecs/gsm/Makefile @@ -43,6 +43,8 @@ ifneq (${PROC},ultrasparc) ifneq ($(shell uname -m),ppc) ifneq ($(shell uname -m),alpha) ifneq (${PROC},sparc64) +ifneq (${PROC},ppc) +ifneq (${PROC},ppc64) OPTIMIZE+=-march=$(PROC) endif endif @@ -50,6 +52,8 @@ endif 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.