]> git.pld-linux.org Git - packages/asterisk.git/blobdiff - asterisk-no_k6_on_sparc.patch
- 1.6.2.5, files todo
[packages/asterisk.git] / asterisk-no_k6_on_sparc.patch
index 1f3262de795bfd06b3c6ebcd086ad42071f976d5..775596a63e1177ed3639716dc14d559bd08dd4b1 100644 (file)
@@ -1,65 +1,20 @@
---- codecs/gsm/Makefile~       2004-08-31 18:33:00.000000000 +0200
-+++ codecs/gsm/Makefile        2004-12-11 01:18:42.000000000 +0100
-@@ -42,12 +42,14 @@
- ifneq (${PROC},ultrasparc)
- ifneq ($(shell uname -m),ppc)
- ifneq ($(shell uname -m),alpha)
-+ifneq ($(shell uname -m),sparc)
- OPTIMIZE+=-march=$(PROC)
- endif
- endif
- endif
- endif
- endif
-+endif
- #The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
- #This works for even old (2.96) versions of gcc and provides a small boost either way.
-@@ -215,12 +215,14 @@
- ifneq ($(shell uname -m),ppc)
- ifneq ($(shell uname -m),alpha)
- ifneq ($(shell uname -m),sparc64)
-+ifneq ($(shell uname -m),sparc)
+--- asterisk-1.6.1.12/codecs/gsm/Makefile~     2009-12-29 20:48:57.000000000 +0200
++++ asterisk-1.6.1.12/codecs/gsm/Makefile      2009-12-29 20:49:58.084691177 +0200
+@@ -208,7 +208,7 @@
+ # XXX Keep a space after each findstring argument
+ # XXX should merge with GSM_OBJECTS
+ ifeq ($(OSARCH),linux-gnu)
+-ifeq (,$(findstring $(shell uname -m) , x86_64 amd64 ppc ppc64 alpha armv4l sparc64 parisc s390 ))
++ifeq (,$(findstring $(shell uname -m) , x86_64 amd64 ppc ppc64 alpha armv4l sparc64 sparc parisc s390 ))
+ ifeq (,$(findstring $(PROC) , arm armv5b armeb powerpc ia64 s390 bfin mipsel mips ))
  GSM_SOURCES+= $(SRC)/k6opt.s
  endif
- endif
- endif
- endif
- endif
-+endif
+@@ -261,7 +261,7 @@
+               $(SRC)/table.o
  
- TOAST_SOURCES = $(SRC)/toast.c                \
-               $(SRC)/toast_lin.c      \
-@@ -273,12 +273,14 @@
- ifneq ($(shell uname -m), ppc)
- ifneq ($(shell uname -m), alpha)
- ifneq ($(shell uname -m), sparc64)
-+ifneq ($(shell uname -m), sparc)
+ ifeq ($(OSARCH),linux-gnu)
+-ifeq (,$(findstring $(shell uname -m) , x86_64 amd64 ppc ppc64 alpha armv4l sparc64 parisc ))
++ifeq (,$(findstring $(shell uname -m) , x86_64 amd64 ppc ppc64 alpha armv4l sparc64 sparc parisc ))
+ ifeq (,$(findstring $(PROC) , arm armv5b armeb powerpc ia64 bfin mipsel mips ))
  GSM_OBJECTS+= $(SRC)/k6opt.o
  endif
- endif
- endif
- endif
- endif
-+endif
- TOAST_OBJECTS =       $(SRC)/toast.o          \
-               $(SRC)/toast_lin.o      \
---- codecs/lpc10/Makefile~     2004-08-31 18:33:00.000000000 +0200
-+++ codecs/lpc10/Makefile      2004-12-11 08:13:19.000000000 +0100
-@@ -31,6 +31,7 @@
- ifneq ($(PROC),ppc)
- ifneq ($(PROC),x86_64)
- ifneq ($(PROC),alpha)
-+ifneq ($(shell uname -m),sparc)
- #The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
- #This works for even old (2.96) versions of gcc and provides a small boost either way.
- #A ultrasparc cpu is really v9 but the stock debian stable 3.0 gcc doesn.t support it.
-@@ -46,6 +47,7 @@
- endif
- endif
- endif
-+endif
- LIB = $(LIB_TARGET_DIR)/liblpc10.a
This page took 0.097625 seconds and 4 git commands to generate.