Makefile update for codec_gsm.c to cross compile for powerpc (bug #4228)
authorMatthew Fredrickson <creslin@digium.com>
Fri, 13 May 2005 14:59:01 +0000 (14:59 +0000)
committerMatthew Fredrickson <creslin@digium.com>
Fri, 13 May 2005 14:59:01 +0000 (14:59 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5645 65c4cc65-6c06-0410-ace0-fbb531ad65f3

codecs/gsm/Makefile

index fc9fa6b..a4d0be5 100755 (executable)
@@ -46,6 +46,8 @@ ifneq ($(shell uname -m),ppc64)
 ifneq ($(shell uname -m),alpha)
 ifneq (${PROC},sparc64)
 ifneq (${PROC},arm)
+ifneq (${PROC},ppc)
+ifneq (${PROC},ppc64)
 OPTIMIZE+=-march=$(PROC)
 endif
 endif
@@ -56,6 +58,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.