aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--codecs/gsm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile
index 49d2ad372..483875cb6 100644
--- a/codecs/gsm/Makefile
+++ b/codecs/gsm/Makefile
@@ -39,7 +39,7 @@ WAV49 = -DWAV49
ifeq (, $(findstring $(OSARCH) , Darwin SunOS ))
ifeq (, $(findstring $(PROC) , x86_64 amd64 ultrasparc sparc64 arm ppc ppc64 ia64 s390))
-ifeq (, $(findstring $(shell uname -m) , ppc ppc64 alpha armv4l ))
+ifeq (, $(findstring $(shell uname -m) , ppc ppc64 alpha armv4l s390 ))
OPTIMIZE+=-march=$(PROC)
endif
endif
@@ -209,7 +209,7 @@ GSM_SOURCES = $(SRC)/add.c \
# XXX Keep a space after each findstring argument
# XXX should merge with GSM_OBJECTS
ifeq (${OSARCH},Linux)
-ifeq (,$(findstring $(shell uname -m) , x86_64 amd64 ppc ppc64 alpha armv4l sparc64 parisc ))
+ifeq (,$(findstring $(shell uname -m) , x86_64 amd64 ppc ppc64 alpha armv4l sparc64 parisc s390 ))
ifeq (,$(findstring ${PROC} , arm ia64 s390 ))
GSM_SOURCES+= $(SRC)/k6opt.s
endif