[Asterisk-cvs] asterisk Makefile,1.35,1.36

martinp at lists.digium.com martinp at lists.digium.com
Thu Oct 16 15:45:27 CDT 2003


Update of /usr/cvsroot/asterisk
In directory mongoose.digium.com:/tmp/cvs-serv21069

Modified Files:
	Makefile 
Log Message:
Revert the previous patch since it's braking compilation


Index: Makefile
===================================================================
RCS file: /usr/cvsroot/asterisk/Makefile,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- Makefile	16 Oct 2003 10:44:04 -0000	1.35
+++ Makefile	16 Oct 2003 21:11:29 -0000	1.36
@@ -98,9 +98,6 @@
 CFLAGS+=$(OPTIMIZE)
 CFLAGS+=$(shell if $(CC) -march=$(PROC) -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then echo "-march=$(PROC)"; fi)
 CFLAGS+=$(shell if uname -m | grep -q ppc; then echo "-fsigned-char"; fi)
-ifeq (${OSARCH},FreeBSD)
-CFLAGS+=-pthread
-endif
 ifeq (${OSARCH},OpenBSD)
 CFLAGS+=-pthread
 endif
@@ -134,18 +131,7 @@
 ifeq (${OSARCH},Linux)
 LIBS=-ldl
 endif
-ifeq (${OSARCH},OpenBSD)
-LIBS=-pthread
-else
-ifeq (${OSARCH},FreeBSD)
-LIBS=-pthread
-else
-endif
-endif
-LIBS+=-lncurses -lm
-ifeq (${OSARCH},Linux)
--lresolv  #-lnjamd
-endif
+LIBS+=-lpthread -lncurses -lm -lresolv  #-lnjamd
 OBJS=io.o sched.o logger.o frame.o loader.o config.o channel.o \
 	translate.o file.o say.o pbx.o cli.o md5.o term.o \
 	ulaw.o alaw.o callerid.o fskmodem.o image.o app.o \




More information about the svn-commits mailing list