summaryrefslogtreecommitdiff
path: root/codecs/lpc10/Makefile
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2004-03-15 16:51:58 +0000
committerMark Spencer <markster@digium.com>2004-03-15 16:51:58 +0000
commite02fae664a43f10f192be1e9d43ee2cbd993465a (patch)
tree1d75a68eb3d64aa6d4f16386c9f39b7fe1bdb7a0 /codecs/lpc10/Makefile
parent2a75bbb7116fb163f9a0100c4eef429747543031 (diff)
Alpha portability from Ricudis
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2442 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'codecs/lpc10/Makefile')
-rwxr-xr-xcodecs/lpc10/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/codecs/lpc10/Makefile b/codecs/lpc10/Makefile
index e9dbd9d02..af8d907f6 100755
--- a/codecs/lpc10/Makefile
+++ b/codecs/lpc10/Makefile
@@ -25,14 +25,16 @@ WARNINGS = -Wall -Wno-comment -Wno-error
CFLAGS = $(OPTIMIZE) -I$(LIB_TARGET_DIR) $(WARNINGS) -fPIC
#CFLAGS+= $(shell if uname -m | grep -q 86; then echo "-mpentium" ; fi)
-#fix for PPC processors
+#fix for PPC processors and ALPHA too
ifneq ($(OSARCH),Darwin)
ifneq ($(PROC),ppc)
ifneq ($(PROC),x86_64)
+ifneq ($(PROC),alpha)
CFLAGS+= -march=$(PROC)
endif
endif
endif
+endif
LIB = $(LIB_TARGET_DIR)/liblpc10.a