aboutsummaryrefslogtreecommitdiffstats
path: root/codecs
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-19 02:59:43 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-19 02:59:43 +0000
commit302636334a1af837d0f576495ebb2b926118976e (patch)
tree76995c5eb029e7a672b54e97acacff4e7cb98beb /codecs
parent738afcf821095f415ba568df146fd63d3cfd7e38 (diff)
fix some compilation issues for ppc (bug #4228)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-0@5728 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs')
-rwxr-xr-xcodecs/gsm/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile
index 06e96414a..e311cf21b 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.