aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/lpc10
diff options
context:
space:
mode:
authormartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-03-28 21:36:52 +0000
committermartinp <martinp@f38db490-d61c-443f-a65b-d21fe96a405b>2003-03-28 21:36:52 +0000
commit8546ff8daed80847d43f9ce390806c6b4348bcf7 (patch)
tree47bf5740c7871aa7600570f0d7a8104f04cf292c /codecs/lpc10
parent678076f01a30896b8061c600df8f67c5b66f80b6 (diff)
Fix for ppc processors
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@713 f38db490-d61c-443f-a65b-d21fe96a405b
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