build shared daemons,
[openwrt.git] / openwrt / package / asterisk / patches / asterisk-1.0.7-Makefile-channels-h323.patch
1 diff -ruN asterisk-1.0.7-old/channels/h323/Makefile asterisk-1.0.7-new/channels/h323/Makefile
2 --- asterisk-1.0.7-old/channels/h323/Makefile 2004-11-15 03:35:35.000000000 +0100
3 +++ asterisk-1.0.7-new/channels/h323/Makefile 2005-03-19 17:38:06.000000000 +0100
4 @@ -22,9 +22,11 @@
5 OSARCH=$(shell uname -s)
6 ifneq (${OSARCH},FreeBSD)
7 ifneq (${OSARCH},NetBSD)
8 +ifneq ($(PROC),mipsel)
9 CFLAGS += -march=$(shell uname -m)
10 endif
11 endif
12 +endif
13 CFLAGS += -DPBYTE_ORDER=PLITTLE_ENDIAN
14
15 ifeq (${OSARCH},Linux)
16 @@ -47,7 +49,7 @@
17
18 # Pre Janus release directives
19 CFLAGS += -DNDEBUG -DDO_CRASH -DDEBUG_THREADS
20 -CFLAGS += -pipe -Wall -fPIC
21 +CFLAGS += -pipe -Wall -fPIC $(OPTIMIZE)
22 ifeq (${OSARCH},Linux)
23 CFLAGS += -DP_LINUX
24 LIBS+=-lpthread
25 @@ -74,7 +76,7 @@
26
27
28 libchanh323.a: ast_h323.o
29 - ar cr libchanh323.a ast_h323.o
30 + $(AR) cr libchanh323.a ast_h323.o
31
32 ast_h323.o: ast_h323.cpp
33 $(CXX) -g -c -fno-rtti -o $@ $(CFLAGS) $<
This page took 0.054021 seconds and 5 git commands to generate.