Index: codecs/gsm/Makefile =================================================================== RCS file: /usr/cvsroot/asterisk/codecs/gsm/Makefile,v retrieving revision 1.11 diff -u -r1.11 Makefile --- codecs/gsm/Makefile 8 Jan 2004 16:52:11 -0000 1.11 +++ codecs/gsm/Makefile 15 Jan 2004 20:42:52 -0000 @@ -39,9 +39,11 @@ 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 @@ $(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,7 +250,9 @@ $(SRC)/table.o ifeq (${OSARCH},Linux) ifneq (${PROC},x86_64) +ifneq ($(shell uname -m),ppc) GSM_OBJECTS+= $(SRC)/k6opt.o +endif endif endif