From 6a72f56ee21c3061a107e8757db0a2901b053c75 Mon Sep 17 00:00:00 2001 From: Martin Pycko Date: Fri, 28 Mar 2003 21:36:52 +0000 Subject: [PATCH] Fix for ppc processors git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@713 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- codecs/lpc10/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/codecs/lpc10/Makefile b/codecs/lpc10/Makefile index 61d87740c7..bf7f11b3f7 100755 --- a/codecs/lpc10/Makefile +++ b/codecs/lpc10/Makefile @@ -24,7 +24,11 @@ LIB_TARGET_DIR = . WARNINGS = -Wall -Wno-comment -Wno-error CFLAGS = $(OPTIMIZE) -I$(LIB_TARGET_DIR) $(WARNINGS) #CFLAGS+= $(shell if uname -m | grep -q 86; then echo "-mpentium" ; fi) -CFLAGS+= -march=$(PROC) + +#fix for PPC processors +ifneq ($(PROC),ppc) + CFLAGS+= -march=$(PROC) +endif LIB = $(LIB_TARGET_DIR)/liblpc10.a