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
5 OSARCH=$(shell uname -s)
6 ifneq (${OSARCH},FreeBSD)
7 ifneq (${OSARCH},NetBSD)
8 +ifneq ($(PROC),mipsel)
9 CFLAGS += -march=$(shell uname -m)
13 CFLAGS += -DPBYTE_ORDER=PLITTLE_ENDIAN
15 ifeq (${OSARCH},Linux)
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)
28 libchanh323.a: ast_h323.o
29 - ar cr libchanh323.a ast_h323.o
30 + $(AR) cr libchanh323.a ast_h323.o
32 ast_h323.o: ast_h323.cpp
33 $(CXX) -g -c -fno-rtti -o $@ $(CFLAGS) $<