]> git.pld-linux.org Git - packages/asterisk.git/blame - asterisk-no_k6_on_sparc.patch
- release 4 (rebuild with new pwlib/openh323)
[packages/asterisk.git] / asterisk-no_k6_on_sparc.patch
CommitLineData
f3fa416f 1--- codecs/gsm/Makefile~ 2004-08-31 18:33:00.000000000 +0200
2+++ codecs/gsm/Makefile 2004-12-11 01:18:42.000000000 +0100
f3fa416f 3@@ -215,12 +215,14 @@
4 ifneq ($(shell uname -m),ppc)
5 ifneq ($(shell uname -m),alpha)
6 ifneq ($(shell uname -m),sparc64)
7+ifneq ($(shell uname -m),sparc)
8 GSM_SOURCES+= $(SRC)/k6opt.s
9 endif
10 endif
11 endif
12 endif
13 endif
14+endif
15
16 TOAST_SOURCES = $(SRC)/toast.c \
17 $(SRC)/toast_lin.c \
18@@ -273,12 +273,14 @@
19 ifneq ($(shell uname -m), ppc)
20 ifneq ($(shell uname -m), alpha)
21 ifneq ($(shell uname -m), sparc64)
22+ifneq ($(shell uname -m), sparc)
23 GSM_OBJECTS+= $(SRC)/k6opt.o
24 endif
25 endif
26 endif
27 endif
28 endif
29+endif
30
31 TOAST_OBJECTS = $(SRC)/toast.o \
32 $(SRC)/toast_lin.o \
33--- codecs/lpc10/Makefile~ 2004-08-31 18:33:00.000000000 +0200
34+++ codecs/lpc10/Makefile 2004-12-11 08:13:19.000000000 +0100
35@@ -31,6 +31,7 @@
36 ifneq ($(PROC),ppc)
37 ifneq ($(PROC),x86_64)
38 ifneq ($(PROC),alpha)
39+ifneq ($(shell uname -m),sparc)
40 #The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
41 #This works for even old (2.96) versions of gcc and provides a small boost either way.
42 #A ultrasparc cpu is really v9 but the stock debian stable 3.0 gcc doesn.t support it.
43@@ -46,6 +47,7 @@
44 endif
45 endif
46 endif
47+endif
48
49 LIB = $(LIB_TARGET_DIR)/liblpc10.a
50
1a032024 51--- codecs/gsm/Makefile~ 2005-03-01 06:32:03.582121632 +0100
52+++ codecs/gsm/Makefile 2005-03-01 06:52:55.075865664 +0100
53@@ -42,6 +42,7 @@
54 ifneq (${PROC},ultrasparc)
55 ifneq ($(shell uname -m),ppc)
56 ifneq ($(shell uname -m),alpha)
57+ifneq ($(shell uname -m),sparc)
58 ifneq (${PROC},sparc64)
59 OPTIMIZE+=-march=$(PROC)
60 endif
61@@ -50,6 +51,7 @@
62 endif
63 endif
64 endif
65+endif
66
67 #The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
68 #This works for even old (2.96) versions of gcc and provides a small boost either way.
This page took 0.122368 seconds and 4 git commands to generate.