aboutsummaryrefslogtreecommitdiffstats
path: root/codecs/lpc10/Makefile
diff options
context:
space:
mode:
authormarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-10-26 18:50:49 +0000
committermarkster <markster@f38db490-d61c-443f-a65b-d21fe96a405b>2003-10-26 18:50:49 +0000
commitf9db8abd4d1bfa16f4135638c600ba0eaadec083 (patch)
tree7d179763d95152f24ed90027acafdc363c2afcef /codecs/lpc10/Makefile
parent6b2aaaa721016826b533a71fb162df76db99fecc (diff)
Make it build and run on MacOS X
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1673 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs/lpc10/Makefile')
-rwxr-xr-xcodecs/lpc10/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/codecs/lpc10/Makefile b/codecs/lpc10/Makefile
index 83ffc225b..5e04d5f73 100755
--- a/codecs/lpc10/Makefile
+++ b/codecs/lpc10/Makefile
@@ -26,9 +26,11 @@ CFLAGS = $(OPTIMIZE) -I$(LIB_TARGET_DIR) $(WARNINGS) -fPIC
#CFLAGS+= $(shell if uname -m | grep -q 86; then echo "-mpentium" ; fi)
#fix for PPC processors
+ifneq ($(OSARCH),Darwin)
ifneq ($(PROC),ppc)
CFLAGS+= -march=$(PROC)
endif
+endif
LIB = $(LIB_TARGET_DIR)/liblpc10.a