summaryrefslogtreecommitdiff
path: root/codecs/lpc10
diff options
context:
space:
mode:
authorMartin Pycko <martinp@digium.com>2003-03-28 21:36:52 +0000
committerMartin Pycko <martinp@digium.com>2003-03-28 21:36:52 +0000
commit6a72f56ee21c3061a107e8757db0a2901b053c75 (patch)
tree47bf5740c7871aa7600570f0d7a8104f04cf292c /codecs/lpc10
parent2f35e7462ef513d9b32258ad966bab7e1e342d79 (diff)
Fix for ppc processors
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@713 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/lpc10')
-rwxr-xr-xcodecs/lpc10/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/codecs/lpc10/Makefile b/codecs/lpc10/Makefile
index 61d87740c..bf7f11b3f 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