]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Alpha portability from Ricudis
authorMark Spencer <markster@digium.com>
Mon, 15 Mar 2004 16:51:58 +0000 (16:51 +0000)
committerMark Spencer <markster@digium.com>
Mon, 15 Mar 2004 16:51:58 +0000 (16:51 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2442 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_festival.c
apps/app_sql_postgres.c
codecs/gsm/Makefile
codecs/lpc10/Makefile

index 82a8193954e64538a88d485a90ae45fba3b4190d..0e016e3d1132b5cc94c4c163368139ac497fa23e 100755 (executable)
@@ -5,7 +5,7 @@
  * 
  * Copyright (C) 2002, Christos Ricudis
  *
- * Christos Ricudis <ricudis@paiko.gr>
+ * Christos Ricudis <ricudis@itc.auth.gr>
  *
  * This program is free software, distributed under the terms of
  * the GNU General Public License
index 3e7e1f46269e60524fa2d329e9b365e78c2a4268..302d2563a90f6ee1e54d9ee409c558c9874e80a1 100755 (executable)
@@ -5,7 +5,7 @@
  * 
  * Copyright (C) 2002, Christos Ricudis
  *
- * Christos Ricudis <ricudis@paiko.gr>
+ * Christos Ricudis <ricudis@itc.auth.gr>
  *
  * This program is free software, distributed under the terms of
  * the GNU General Public License
index 747de59e40a293951f4ce11494c79d034a3cae6b..effdbcbaca59ec144869269efd1959c4a83cb555 100755 (executable)
@@ -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      \
index e9dbd9d02d165762d6a56e162da49b0f4d8710d2..af8d907f640e189b23d25859255fac406562d3bc 100755 (executable)
@@ -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