Alpha portability from Ricudis

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2442 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Mark Spencer
2004-03-15 16:51:58 +00:00
parent 2a75bbb711
commit e02fae664a
4 changed files with 11 additions and 3 deletions

View File

@@ -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