Fix for ppc processors
authorMartin Pycko <martinp@digium.com>
Fri, 28 Mar 2003 21:36:52 +0000 (21:36 +0000)
committerMartin Pycko <martinp@digium.com>
Fri, 28 Mar 2003 21:36:52 +0000 (21:36 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@713 65c4cc65-6c06-0410-ace0-fbb531ad65f3

codecs/lpc10/Makefile

index 61d8774..bf7f11b 100755 (executable)
@@ -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