From 5f23eba1b020987600d3e77a961e20928feff79b Mon Sep 17 00:00:00 2001 From: Malcolm Davenport Date: Thu, 15 Jan 2004 21:31:26 +0000 Subject: [PATCH] Bug #857. More fixes for GSM Makefile for PPC git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2040 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- codecs/gsm/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile index a81bcf985f..747de59e40 100755 --- a/codecs/gsm/Makefile +++ b/codecs/gsm/Makefile @@ -39,9 +39,11 @@ WAV49 = -DWAV49 ifneq (${OSARCH},Darwin) ifneq (${PROC},x86_64) +ifneq ($(shell uname -m),ppc) OPTIMIZE+=-march=$(PROC) endif endif +endif PG = #PG = -g -pg @@ -197,9 +199,11 @@ GSM_SOURCES = $(SRC)/add.c \ $(SRC)/table.c ifeq (${OSARCH},Linux) ifneq (${PROC},x86_64) +ifneq ($(shell uname -m),ppc) GSM_SOURCES+= $(SRC)/k6opt.s endif endif +endif TOAST_SOURCES = $(SRC)/toast.c \ $(SRC)/toast_lin.c \ @@ -246,9 +250,11 @@ GSM_OBJECTS = $(SRC)/add.o \ $(SRC)/table.o ifeq (${OSARCH},Linux) ifneq (${PROC},x86_64) +ifneq ($(shell uname -m), ppc) GSM_OBJECTS+= $(SRC)/k6opt.o endif endif +endif TOAST_OBJECTS = $(SRC)/toast.o \ $(SRC)/toast_lin.o \