diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-03-15 16:51:58 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-03-15 16:51:58 +0000 |
commit | fd3c1f36e81115af608b38c45b896c371bb46f33 (patch) | |
tree | 1d75a68eb3d64aa6d4f16386c9f39b7fe1bdb7a0 /codecs | |
parent | 0ac5be7919ae396936eed553381e04b093d3f5ca (diff) |
Alpha portability from Ricudis
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2442 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'codecs')
-rwxr-xr-x | codecs/gsm/Makefile | 6 | ||||
-rwxr-xr-x | codecs/lpc10/Makefile | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/codecs/gsm/Makefile b/codecs/gsm/Makefile index 747de59e4..effdbcbac 100755 --- a/codecs/gsm/Makefile +++ b/codecs/gsm/Makefile @@ -40,10 +40,12 @@ WAV49 = -DWAV49 ifneq (${OSARCH},Darwin) ifneq (${PROC},x86_64) ifneq ($(shell uname -m),ppc) +ifneq ($(shell uname -m),alpha) OPTIMIZE+=-march=$(PROC) endif endif endif +endif PG = #PG = -g -pg @@ -200,10 +202,12 @@ GSM_SOURCES = $(SRC)/add.c \ ifeq (${OSARCH},Linux) ifneq (${PROC},x86_64) ifneq ($(shell uname -m),ppc) +ifneq ($(shell uname -m),alpha) GSM_SOURCES+= $(SRC)/k6opt.s endif endif endif +endif TOAST_SOURCES = $(SRC)/toast.c \ $(SRC)/toast_lin.c \ @@ -251,10 +255,12 @@ GSM_OBJECTS = $(SRC)/add.o \ ifeq (${OSARCH},Linux) ifneq (${PROC},x86_64) ifneq ($(shell uname -m), ppc) +ifneq ($(shell uname -m), alpha) GSM_OBJECTS+= $(SRC)/k6opt.o endif endif endif +endif TOAST_OBJECTS = $(SRC)/toast.o \ $(SRC)/toast_lin.o \ 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 |