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