Skip to content
Snippets Groups Projects
Commit a84d2cf4 authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

make chan_misdn build on x86-64

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9123 65c4cc65-6c06-0410-ace0-fbb531ad65f3
parent ec5dfabc
No related merge requests found
......@@ -6,6 +6,9 @@
# Verify those options with main Makefile
CFLAGS = -pipe -c -Wall
ifeq ($(PROC),x86_64)
CFLAGS += -fPIC
endif
SOURCES = isdn_lib.c isdn_msg_parser.c
OBJDIR = .
OBJS = isdn_lib.o isdn_msg_parser.o fac.o
......@@ -16,7 +19,7 @@ all: chan_misdn_lib.a
%.o: %.c
$(CC) $(CFLAGS) -o $@ $<
chan_misdn_lib.a: $(OBJS)
ar crv $@ $(OBJS)
......@@ -26,7 +29,7 @@ misdn:
cd lib ; cvs -d:pserver:anonymous:readonly@cvs.isdn4linux.de:/i4ldev co -r mqueue mISDN mISDNuser ;
cd lib/mISDN ; make install
cd lib/mISDNuser ; make install
FORCE:
clean:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment