summaryrefslogtreecommitdiff
path: root/codecs/gsm
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-03-27 22:39:17 +0000
committerMark Spencer <markster@digium.com>2005-03-27 22:39:17 +0000
commita0a2592025a299cba579a3159a240ec11983333c (patch)
tree967c042d6622322a809a26724fb2af4e57684e66 /codecs/gsm
parentb0b916c16c0e2bdd2e46b3b229e92260519a50fd (diff)
Fix cross compiling (bug #3868)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5278 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/gsm')
-rwxr-xr-xcodecs/gsm/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile
index 5aeb11b84..fc9fa6b27 100755
--- a/codecs/gsm/Makefile
+++ b/codecs/gsm/Makefile
@@ -45,6 +45,7 @@ ifneq ($(shell uname -m),ppc)
ifneq ($(shell uname -m),ppc64)
ifneq ($(shell uname -m),alpha)
ifneq (${PROC},sparc64)
+ifneq (${PROC},arm)
OPTIMIZE+=-march=$(PROC)
endif
endif
@@ -54,6 +55,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.
@@ -222,6 +224,7 @@ ifneq ($(shell uname -m),ppc)
ifneq ($(shell uname -m),ppc64)
ifneq ($(shell uname -m),alpha)
ifneq ($(shell uname -m),sparc64)
+ifneq (${PROC},arm)
GSM_SOURCES+= $(SRC)/k6opt.s
endif
endif
@@ -229,6 +232,7 @@ endif
endif
endif
endif
+endif
TOAST_SOURCES = $(SRC)/toast.c \
$(SRC)/toast_lin.c \