]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/asterisk/asterisk-1.0.9/gsm.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / asterisk / asterisk-1.0.9 / gsm.patch
1 --- asterisk-1.0.9.org/codecs/gsm/Makefile      2005-06-21 16:27:28.000000000 +0200
2 +++ asterisk-1.0.9/codecs/gsm/Makefile  2005-08-14 21:47:10.000000000 +0200
3 @@ -37,26 +37,6 @@
4  ######### ppro's, etc, as well as the AMD K6 and K7.  The compile will
5  ######### probably require gcc. 
6  
7 -ifneq (${OSARCH},Darwin)
8 -ifneq (${PROC},x86_64)
9 -ifneq (${PROC},ultrasparc)
10 -ifneq ($(shell uname -m),ppc)
11 -ifneq ($(shell uname -m),alpha)
12 -ifneq ($(shell uname -m),armv4l)
13 -ifneq (${PROC},sparc64)
14 -ifneq (${PROC},ppc)
15 -ifneq (${PROC},ppc64)
16 -OPTIMIZE+=-march=$(PROC)
17 -endif
18 -endif
19 -endif
20 -endif
21 -endif
22 -endif
23 -endif
24 -endif
25 -endif
26 -
27  #The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
28  #This works for even old (2.96) versions of gcc and provides a small boost either way.
29  #A ultrasparc cpu is really v9 but the stock debian stable 3.0 gcc doesn't support it.
30 @@ -218,19 +198,6 @@
31                 $(SRC)/gsm_option.c     \
32                 $(SRC)/short_term.c     \
33                 $(SRC)/table.c
34 -ifeq (${OSARCH},Linux)
35 -ifneq ($(shell uname -m),x86_64)
36 -ifneq ($(shell uname -m),ppc)
37 -ifneq ($(shell uname -m),alpha)
38 -ifneq ($(shell uname -m),armv4l)
39 -ifneq ($(shell uname -m),sparc64)
40 -GSM_SOURCES+= $(SRC)/k6opt.s
41 -endif
42 -endif
43 -endif
44 -endif
45 -endif
46 -endif
47  
48  TOAST_SOURCES = $(SRC)/toast.c                 \
49                 $(SRC)/toast_lin.c      \
50 @@ -276,20 +243,6 @@
51                 $(SRC)/short_term.o     \
52                 $(SRC)/table.o
53  
54 -ifeq (${OSARCH},Linux)
55 -ifneq ($(shell uname -m), x86_64)
56 -ifneq ($(shell uname -m), ppc)
57 -ifneq ($(shell uname -m), alpha)
58 -ifneq ($(shell uname -m), armv4l)
59 -ifneq ($(shell uname -m), sparc64)
60 -GSM_OBJECTS+= $(SRC)/k6opt.o
61 -endif
62 -endif
63 -endif
64 -endif
65 -endif
66 -endif
67 -
68  TOAST_OBJECTS =        $(SRC)/toast.o          \
69                 $(SRC)/toast_lin.o      \
70                 $(SRC)/toast_ulaw.o     \
71