aboutsummaryrefslogtreecommitdiffstats
path: root/codecs
diff options
context:
space:
mode:
authormattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-13 14:59:01 +0000
committermattf <mattf@f38db490-d61c-443f-a65b-d21fe96a405b>2005-05-13 14:59:01 +0000
commitbafac20626420f84e59a37501f65f094ca1e1cdf (patch)
treecf77406121db61e3e415d44c65a387f3356e01db /codecs
parent6c5a457ba97f86135c3a9028f19d7e7c0723b273 (diff)
Makefile update for codec_gsm.c to cross compile for powerpc (bug #4228)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5645 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 fc9fa6b27..a4d0be523 100755
--- a/codecs/gsm/Makefile
+++ b/codecs/gsm/Makefile
@@ -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.